I want my Memory back ;-)

BCS none at anon.com
Mon Jul 12 21:06:06 PDT 2010


Hello Leandro,

> ABothe, el 12 de julio a las 23:44 me escribiste:
> 
>> GC.free(&asdf); // It doesn't work!!
>> delete asdf; // Also, without GC.free, doesn't work!!!
> Those 2 *must* work. What are you doing to check if they work?
> 

If, by chance, you are looking at the memory usage of your program (i.e. 
the amount of space the OS has mapped) as reported by the OS or the like, 
then you won't see anything as the GC never returns memory to the OS, OTOH 
unless you are VERY tight on memory, this will have negligible effect on 
most modern computers.

-- 
... <IXOYE><





More information about the Digitalmars-d mailing list