2/14/2007

Memory management is very important on a device with limited physical RAM and no virtual memory paging file. Applications for Windows Mobile powered devices must be ready to free memory when they receive the Windows Embedded 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 powered devices use application hibernation to free memory.

Handling Low Memory States

Explains how Windows Mobile powered 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 an Application for Windows Mobile 6 Standard to Turn the Backlight On or Off

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 powered device responds to critically low memory states.

See Also