How much memory is used by an object?

Ali Çehreli acehreli at yahoo.com
Mon Feb 18 08:48:16 PST 2013


On 02/18/2013 08:13 AM, Alexandr Druzhinin wrote:
> 18.02.2013 22:39, Jacob Carlborg пишет:
>>
>> * The GC will never give back memory to the OS which it has allocated
>>
> and this the next problem I get - the application eats memory always. in
> C++ I'd say it is leaks but with gc I'm not sure it is - I guess gc
> collects memory but I don't see in reality. I think I don't understand
> something important and now I read from the start.

Try to build as a 64-bit application. If it helps, you may be seeing the 
effects of the current GC implementation being conservative.

Ali


More information about the Digitalmars-d-learn mailing list