Get memory used by current process at specific point in time
Per Nordlöw
per.nordlow at gmail.com
Mon Jan 13 23:36:30 UTC 2020
On Monday, 13 January 2020 at 20:08:19 UTC, Jacob Carlborg wrote:
> On 2020-01-12 14:58, 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?
>
> I don't think so. But if you're on macOS you can use
> Instruments (shipped with Xcode) and pick the Allocations
> template.
I'm sitting on Linux :)
Thanks anway
More information about the Digitalmars-d-learn
mailing list