I want my Memory back ;-)

ABothe info at alexanderbothe.com
Mon Jul 12 16:44:49 PDT 2010


Hi everyone,

I don't know if it's a bug or not .. but D or at least its GC doesn't want to
free my allocated stuff! Also when I 'disable' the GC via GC.disable(); it
won't free it :-/

byte[] asdf=new byte[50_000_000]; // OK a bit much---but it's an example value

GC.free(&asdf); // It doesn't work!!
delete asdf; // Also, without GC.free, doesn't work!!!

So...please give me a solution for this, D people :-D


--Alex


More information about the Digitalmars-d mailing list