Process.WorkingSet 속성

정의

주의

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

주의

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

연결된 프로세스의 실제 메모리 사용량을 바이트 단위로 가져옵니다.

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

속성 값

연결된 프로세스에서 사용하는 실제 메모리의 총 양(바이트)입니다.

특성

설명

이 속성에서 반환되는 값은 프로세스에서 사용하는 작업 집합 메모리의 가장 최근에 새로 고친 크기를 바이트 단위로 나타냅니다. 최신 크기를 최대한 활용하려면 먼저 메서드를 호출 Refresh() 해야 합니다.

프로세스의 작업 집합은 현재 실제 RAM 메모리의 프로세스에 표시되는 메모리 페이지 집합입니다. 이러한 페이지는 상주 하며 페이지 오류를 일으키지 않고 애플리케이션에 사용할 수 있습니다.

작업 집합에는 공유 데이터와 프라이빗 데이터가 모두 포함됩니다. 공유 데이터에는 프로세스 모듈 및 시스템 라이브러리를 포함하여 프로세스가 실행하는 모든 지침이 포함된 페이지가 포함됩니다.

적용 대상

추가 정보