[Issue 11021] Huge GC leak leads to crash; GC uses 7x more memory
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 13 10:10:21 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11021
Orvid King <blah38621 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |blah38621 at gmail.com
--- Comment #4 from Orvid King <blah38621 at gmail.com> 2013-09-13 10:10:20 PDT ---
(In reply to comment #3)
> Yes, it's on win32.
>
> I think app should use about 50 mb as i'm allocating 40 mb array, not 300.
I would actually expect it to use 90mb, your allocating a 40mb array inside a
loop, the previous 40mb array will still be referenced when you go to allocate
the new 40mb array, meaning that it can't be collected if the second allocation
triggers a GC.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list