[Issue 7095] New: GC doesn't return or reuse unused memory [D2.056]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 11 08:59:34 PST 2011


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

           Summary: GC doesn't return or reuse unused memory [D2.056]
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: soul8o8 at gmail.com


--- Comment #0 from Heywood Floyd <soul8o8 at gmail.com> 2011-12-11 08:59:32 PST ---
The garbage collector refuses to collect garbage. MacOS X 10.7.2, DMD v2.056


import core.memory;
void main(){
    long[] arr;
    foreach(i;0..100){
        arr = new long[10_000_000];
        GC.collect();
        GC.minimize();
    }
}


$ rdmd gcrun.d
core.exception.OutOfMemoryError
$ _

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