On Sunday, 12 January 2020 at 13:58:18 UTC, Per Nordlöw wrote:
Is there a druntime/phobos function for getting the amount of memory (both, stack, malloc, and GC) being used by the current process?

At least for the GC I remember using GC.stats and GC.profileStats to get some info.

https://dlang.org/phobos/core_memory.html#.GC

Reply via email to