Process.PeakWorkingSet 属性

定义

注意

This property has been deprecated. Please use System.Diagnostics.Process.PeakWorkingSet64 instead. https://go.microsoft.com/fwlink/?linkid=14202

注意

This property has been deprecated. Please use System.Diagnostics.Process.PeakWorkingSet64 instead. http://go.microsoft.com/fwlink/?linkid=14202

注意

Use PeakWorkingSet64

获取关联进程的峰值工作集大小(以字节为单位)。Gets the peak working set size for the associated process, in bytes.

public:
 property int PeakWorkingSet { int get(); };
[System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public int PeakWorkingSet { get; }
public int PeakWorkingSet { get; }
[System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public int PeakWorkingSet { get; }
[System.Obsolete("Use PeakWorkingSet64")]
public int PeakWorkingSet { get; }
[<System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.PeakWorkingSet : int
member this.PeakWorkingSet : int
[<System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PeakWorkingSet64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.PeakWorkingSet : int
[<System.Obsolete("Use PeakWorkingSet64")>]
member this.PeakWorkingSet : int
Public ReadOnly Property PeakWorkingSet As Integer

属性值

Int32

关联进程一次所需的最大物理内存量(以字节为单位)。The maximum amount of physical memory that the associated process has required all at once, in bytes.

属性

注解

进程的工作集是当前对物理 RAM 内存中的进程可见的内存页集。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 the process executes, including process modules and the system libraries.

适用于

另请参阅