I want my Memory back ;-)

Nick Sabalausky a at a.a
Tue Jul 13 11:12:51 PDT 2010


"ABothe" <info at asdf.com> wrote in message 
news:i1hf3h$7sd$1 at digitalmars.com...
> So there isn't any other method than calling C's free(); or malloc
> (); ?

GC.minimize() should do it:

http://www.digitalmars.com/d/2.0/phobos/std_gc.html

If it doesn't, then there's probably something holding on a reference to it 
(like the LRU cache Steven mentioned), or something that the GC mistakenly 
thinks is a reference to it.

-------------------------------
Not sent from an iPhone.




More information about the Digitalmars-d mailing list