std.gc.disable not implemented or not working?

Paolo Invernizzi arathorn at NOSPAM_fastwebnet.it
Wed May 31 00:13:30 PDT 2006


Hi all,

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

If It's a bug, I'll add it to the collector.

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-bugs mailing list