Usage of memory by arrays

unDEFER undefer at gmail.com
Thu Apr 5 22:29:54 UTC 2018


On Thursday, 5 April 2018 at 22:06:10 UTC, Jonathan M Davis wrote:

> You could also look at how x.capacity compares to x.length as 
> well as core.memory.GC.stats() to see what the GC thinks that 
> it's using. On my system, the x.capacity was only 9 greater 
> than x.length, and GC.stats printed as

Yes, capacity for me also have only 9 greater.
So.. in my game GS.stats() shows 105 Mb, but the system shows 320 
Mb of usage memory by the process...
The same under Windows. Really don't understand what this all 
means.


More information about the Digitalmars-d mailing list