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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Heywood Floyd <[email protected]> 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: -------