Current size of GC memory

Namespace rswhite4 at googlemail.com
Mon Nov 4 02:23:32 PST 2013


On Monday, 4 November 2013 at 06:38:41 UTC, Rainer Schuetze wrote:
>
>
> On 03.11.2013 19:53, Namespace wrote:
>> On Sunday, 3 November 2013 at 13:05:08 UTC, Namespace wrote:
>>> Is there a way to find out how much memory the GC used 
>>> currently?
>>
>> Does not seem to be possible. Would have been nice.
>
> There is an "unofficial" function gc_stats here: 
> https://github.com/D-Programming-Language/druntime/blob/master/src/gc/proxy.d#L276

And how can I use it? import gc.proxy; doesn't work.


More information about the Digitalmars-d-learn mailing list