SystemEvents.LowMemory 이벤트

정의

주의

This event has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202

시스템에서 사용 가능한 RAM이 부족할 때 발생합니다.

public:
 static event EventHandler ^ LowMemory;
public static event EventHandler LowMemory;
[System.ComponentModel.Browsable(false)]
[System.Obsolete("This event has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
public static event EventHandler LowMemory;
member this.LowMemory : EventHandler 
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("This event has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.LowMemory : EventHandler 
Public Shared Custom Event LowMemory As EventHandler 

이벤트 유형

특성

예외

시스템 이벤트 알림은 현재 컨텍스트에서 지원되지 않습니다. 예를 들어 서버 프로세스는 전역 시스템 이벤트 알림을 지원하지 않을 수 있습니다.

시스템 이벤트 창 스레드를 만들려는 시도가 성공하지 못했습니다.

설명

이 이벤트는 WM_COMPACTING 메시지를 래핑합니다. 이 메시지는 시스템에서 30~60초 간격 동안 시스템 시간의 12.5% 이상이 메모리 압축에 소요되는 것을 감지하면 모든 최상위 창으로 전송됩니다. 이는 시스템 메모리가 낮다는 것을 나타냅니다.

메모

이 이벤트는 메시지 펌프가 실행 중인 경우에만 발생합니다. Windows 서비스에서 숨겨진 양식을 사용하거나 메시지 펌프를 수동으로 시작하지 않는 한 이 이벤트는 발생하지 않습니다. Windows 서비스에서 숨겨진 양식을 사용하여 시스템 이벤트를 처리하는 방법을 보여 주는 코드 예제는 클래스를 SystemEvents 참조하세요.

Caution

이는 정적 이벤트이므로 애플리케이션이 삭제되거나 메모리 누수로 인해 이벤트 처리기를 분리해야 합니다.

호출자 참고

이 메시지는 16비트 Windows 기반 애플리케이션과의 호환성을 위해서만 제공됩니다.

적용 대상