Dear D user, i have this code: import core.sys.windows.windows;
real[] a;
while(1) {
a.length=4096*4096;
a=null;
Sleep(2000);
}
It allocates memory, but its never gets freed, just keep going
up, and after 10 secs, memoryexception is thrown. I checked the
pointer it is GC safe (attributes is 10). Am i missing something?
TY: collerblade
