Garbage collector

Paolo Invernizzi arathorn at NOSPAM_fastwebnet.it
Tue May 30 07:20:13 PDT 2006


Hi all,

DMD 0.159 win32, Why I don't see my memory exploding while the program 
is running?


int main(char[][] argv) {
     std.gc.disable();
     for (int i=0; i < 1000000; i++) {
         byte[] a = new byte[10000000];
     }
}

Thanks!

---
Paolo Invernizzi



More information about the Digitalmars-d mailing list