OOM Handling (Compact 2013)
The previous Windows Embedded Compact out-of-memory (OOM) model was designed specifically for devices that have limited RAM. This design relied on asking users to close applications to avoid memory allocation failures.
The new Windows Embedded Compact 2013 design of the OOM model uses several thresholds, adjustable by registry, to provide different levels of available memory for different types of components.
The new design has the following features:
- Fails memory allocation if there is no memory available
- Provides low-memory notifications, such as low or critical, before memory allocation starts failing
- Provides a notification for a healthy memory status
- When applicable, enables any application or shell to monitor and take the correct action on an OOM event. For example, a device could reboot on an out-of-memory event, use a shell that handles an OOM event, or not take action so that the application handles the OOM event.
In This Section
- OOM Components and Thresholds
Provides information about OOM components and thresholds.
- OOM Registry Settings
Provides information about OOM registry settings.
- OOM Handling Functions
Provides information about OOM functions.