Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains the memory statistics for a process.
typedef struct _PROCESS_MEMORY_COUNTERS {
DWORD cb;
DWORD PageFaultCount;
SIZE_T PeakWorkingSetSize;
SIZE_T WorkingSetSize;
SIZE_T QuotaPeakPagedPoolUsage;
SIZE_T QuotaPagedPoolUsage;
SIZE_T QuotaPeakNonPagedPoolUsage;
SIZE_T QuotaNonPagedPoolUsage;
SIZE_T PagefileUsage;
SIZE_T PeakPagefileUsage;
} PROCESS_MEMORY_COUNTERS;
cb
The size of the structure, in bytes.
PageFaultCount
The number of page faults.
PeakWorkingSetSize
The peak working set size, in bytes.
WorkingSetSize
The current working set size, in bytes.
QuotaPeakPagedPoolUsage
The peak paged pool usage, in bytes.
QuotaPagedPoolUsage
The current paged pool usage, in bytes.
QuotaPeakNonPagedPoolUsage
The peak nonpaged pool usage, in bytes.
QuotaNonPagedPoolUsage
The current nonpaged pool usage, in bytes.
PagefileUsage
The Commit Charge value in bytes for this process. Commit Charge is the total amount of memory that the memory manager has committed for a running process.
PeakPagefileUsage
The peak value in bytes of the Commit Charge during the lifetime of this process.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | psapi.h |
Memory Performance Information
Please sign in to use this experience.
Sign in