Skip to content

ProcessMemory constructor

Process memory counters as the operating system reports them.

public ProcessMemory(long PrivateUsage, long WorkingSetSize, long PrivateWorkingSetSize)
parameter description
PrivateUsage Committed memory private to the process (Windows private bytes; the physical footprint on macOS; anonymous data and stack mappings on Linux).
WorkingSetSize Resident memory, shared pages included.
PrivateWorkingSetSize Resident memory not shared with any other process; 0 when the platform cannot report it.