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

속성 값

남은 바이트 수입니다.

특성

예외

static(Visual Basic Shared) MonitoringIsEnabled 속성은 false로 설정됩니다.

설명

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

적용 대상

추가 정보