ProcessMemoryUsageReport Class

Definition

Provides data about the memory usage of the process.

public ref class ProcessMemoryUsageReport sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProcessMemoryUsageReport final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProcessMemoryUsageReport
Public NotInheritable Class ProcessMemoryUsageReport
Inheritance
Object Platform::Object IInspectable ProcessMemoryUsageReport
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Call GetReport to get an instance of this class.

Properties

NonPagedPoolSizeInBytes

Gets the amount of non-paged memory available to the process, in bytes.

PagedPoolSizeInBytes

Gets the amount of paged memory available to the process, in bytes.

PageFaultCount

Gets the number of memory page faults.

PageFileSizeInBytes

Gets the size of the memory page file in bytes.

PeakNonPagedPoolSizeInBytes

Gets the maximum amount of non-paged memory used by the process, in bytes.

PeakPagedPoolSizeInBytes

Gets the maximum amount of paged memory used by the process, in bytes.

PeakPageFileSizeInBytes

Gets the maximum size of the memory page file used by the process, in bytes.

PeakVirtualMemorySizeInBytes

Gets the maximum amount of virtual memory used by the associated process.

PeakWorkingSetSizeInBytes

Gets the maximum amount of physical memory used by the associated process.

PrivatePageCount

Gets the number of private memory pages allocated for the associated process.

VirtualMemorySizeInBytes

Gets the amount of the virtual memory allocated for the associated process.

WorkingSetSizeInBytes

Gets the amount of physical memory allocated for the associated process.

Applies to