[Issue 4358] Potential Memory Leaks in std.file.read() ?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 21 23:55:51 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4358



--- Comment #2 from Vermi <moi at vermi.fr> 2010-06-21 23:55:49 PDT ---
It's very strange, I never had this kind of problem before. I must first finish
my software, so I will add delete() in the code, but as soon as I have free
time I will look if I can help with the D :) (I will take a look at GC's
implementation).
To answer you yes, imareges.dll is about 20 MB. I tried with a ~2MB file, and
all worked well, so I guess there a limit size where the GC stop working
correctly. I'll make some try this winter to see if I can make something. I
take a look in the patch, but I need more than 2 minutes to understand the
whole way the memory is managed in D.

-- 
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