Memory and Power Management
Memory management is very important on a device with limited physical RAM and no virtual memory paging file. Applications for mobile devices must be ready to free memory when they receive the Windows CE WM_HIBERNATE messages.
In This Section
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.
Explains how Windows Mobile-based devices handle low memory situations.
System Out of Memory Dialog Box
Provides information about how a Windows Mobile-based device responds to critically low memory states.
Explains how you can obtain information about the processor and memory characteristics of the device.
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.
Provides a code example showing how to cause a device to suspend.
How to: Prevent Automatic Power Down
Provides a code example showing how to prevent automatic power down.
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: Determine Battery Status
Provides a code example showing how to determine battery status on the device.
See Also
Windows CE .NET Advanced Memory Management | System Memory Management in Windows CE .NET | Memory Architecture | Memory Management Reference | ToolHelp Reference | Target Control Debugging Commands | Memory Usage Tool | Remote Kernel Tracker | INFO: Understanding Windows CE DLL Load Failures | Multiple XIP Support
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.