How much memory is used by an object?

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Feb 18 08:38:27 PST 2013


On Mon, Feb 18, 2013 at 11:13:25PM +0700, Alexandr Druzhinin wrote:
> 18.02.2013 22:39, Jacob Carlborg пишет:
> >
> >* The GC will never give back memory to the OS which it has allocated
[...]

Take a look at GC.minimize() here:
http://dlang.org/phobos/core_memory.html

Or does that not work at the moment?


T

-- 
Having a smoking section in a restaurant is like having a peeing section
in a swimming pool. -- Edward Burr 


More information about the Digitalmars-d-learn mailing list