AppDomain.MonitoringSurvivedMemorySize 속성

정의

현재 애플리케이션 도메인에서 참조하도록 알려진 마지막 컬렉션 후에도 유지되는 바이트 수를 가져옵니다.

public:
 property long MonitoringSurvivedMemorySize { long get(); };
public long MonitoringSurvivedMemorySize { get; }
public long MonitoringSurvivedMemorySize { [System.Security.SecurityCritical] get; }
member this.MonitoringSurvivedMemorySize : int64
[<get: System.Security.SecurityCritical>]
member this.MonitoringSurvivedMemorySize : int64
Public ReadOnly Property MonitoringSurvivedMemorySize As Long

속성 값

Int64

유지되는 바이트 수입니다.

특성

예외

static(Visual Basic의 경우 Shared) MonitoringIsEnabled 속성이 false로 설정된 경우

설명

통계는 각 가비지 수집으로 업데이트됩니다. 그러나 전체 차단 컬렉션 이후에 정확 하 게 되도록 보장 됩니다. 즉, 수집 하는 동안 애플리케이션을 중지 하는 모든 세대를 포함 하는 컬렉션에 발생 합니다. 예를 들어 GC.Collect() 메서드 오버로드는 전체 차단 컬렉션을 수행합니다. (동시 컬렉션 백그라운드에서 발생 하며 애플리케이션을 차단 하지 않습니다.)

적용 대상

추가 정보