Export (0) Print
Expand All

Process.PeakWorkingSet Property

Gets the peak working set size for the associated process.

[Visual Basic]
Public ReadOnly Property PeakWorkingSet As Integer
[C#]
public int PeakWorkingSet {get;}
[C++]
public: __property int get_PeakWorkingSet();
[JScript]
public function get PeakWorkingSet() : int;

Property Value

The maximum amount of physical memory that the associated process has required all at once, in bytes.

Exceptions

Exception Type Condition
PlatformNotSupportedException You are accessing this member using Windows 98.

Remarks

The working set of a process is the set of memory pages currently visible to the process in physical RAM memory. These pages are resident and available for an application to use without triggering a page fault.

The working set includes both shared and private data. The shared data includes the pages that contain all the instructions that your application executes, including the pages in your .dll files and the system .dll files.

Requirements

Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

Process Class | Process Members | System.Diagnostics Namespace | WorkingSet | MinWorkingSet | MaxWorkingSet

Show:
© 2014 Microsoft