Dumpmem and monster-Virtual Memory schedulers on Windows Mobile/CE

Source: Internet
Author: User

Windows Mobile 5And6The platform is built onCe5.x. When the available memory is small, the platform automatically closes the application.Program. Moreover, on this mobile platform, you can only run32ItemsProcess. On the desktop, we have4 GBBy default, each application has2 GB. InWindows MobileOn the platform, each application only has32 MB.Windows Mobile/CEThe virtual memory management of the system is realized. The operating system uses the MMU of the microprocessor to process real-time conversion between virtual addresses and physical addresses. We can use tools to view the virtual address space on the mobile platform.

1.Dumpmem

This tool can be downloaded from the help and support sections of Microsoft. After the download, decompress the file and you can see that this project is usedEvc3To compile, because my machine is not installedMicrosoft Embedded Visual tools 3.0Therefore, only the compiled executable files are used. Because the simulator is based onArmSo you canArmrelFolderDumpmem.exeThis file. If it is based onX86OfCe PC, You can useX86relFile. Copy itStorageDirectory, run on the simulator, the effect is as follows:1As shown in:

Figure 1: DumpmemRun Interface

Select the application"Smsnotifer", Click"Create FileIn the root directory of the device.Dumpmem.txtFile, such2As shown in:

Figure 2: Dumpmem.txtDirectory

UseWord mobileAfter opening, you can find a lot of information, including the target platform and selected application information, such3As shown in:

Figure 3: Dumpmem.txtInformation contained

2. Windows Mobile Virtual Memory monster

Based on the aboveDumpmem,Windows Mobile Virtual Memory monsterA graphical representation of the image is provided. Red indicates null, blue indicates that the space is reserved, and Green indicates that the space has been allocated. The left and right keys on the device can be used to view differentSlotSuch4, ShowingSlot1 ~ 3:

Figure4:Slot1 ~ 3Memory usage

This example usesC ++InVs2005A project file compiled in the environment. If you have such requirements, please pay attention to them.

 

ReferenceArticle:

For Pocket PC 2002ViewDumpmemUtility

Slaying the virtual memory monster-Part I

Slaying the virtual memory monster-Part II

Visualizing the Windows Mobile Virtual Memory monster

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.