MemoryProfiler.peakUsage

size_t peakUsage() @safe pure nothrow

Gets the peak memory usage.

Returns

Peak allocated bytes