Memory and Power Management
Memory management is very important on a device with limited physical RAM and no virtual memory paging file. Applications for Windows Mobile-based devices must be ready to free memory when they receive the Windows CE WM_HIBERNATE messages.
In This Section
- Getting Memory Status and Processor Information
Explains how you can obtain information about the processor and memory characteristics of the device. - Handling Application Hibernation
Explains how Windows Mobile-based devices use application hibernation to free memory. - Handling Low Memory States
Explains how Windows Mobile-based devices handle low memory situations. - How to: Determine Available Memory
Provides a code example showing how to get information about the amount of available program or storage memory on the device. - How to: Determine Battery Status
Provides a code example showing how to determine battery status on the device. - How to: Program Applications to Turn the Smartphone Backlight Off and On
Provides a code example showing how to turn off and on the backlight. - How to: Suspend the Device
Provides a code example showing how to cause a device to suspend. - Managing Variables, Stacks, and Heaps on Mobile Devices
Examines important factors about how your application allocates memory to manage static and global variables, stacks, and heaps. - Preventing Automatic Power Down
Describes how to prevent automatic power down. - System Out of Memory Dialog Box
Provides information about how a Windows Mobile-based device responds to critically low memory states.
See Also
Architecture for Windows Mobile Applications
Send Feedback on this topic to the authors