On 04.11.2013 11:23, Namespace wrote:
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.
You need to add <dmd-install-path>/src/druntime/src to the import search
paths.