Memory Information (Windows Embedded CE 6.0)
1/5/2010
This topic covers CeDebugX commands for obtaining memory information. The following shows these commands.
Command | Description | Parameters |
---|---|---|
!heaplist <process> |
Displays basic information about heaps in the system or in the specified process. |
<process> (optional) Displays only heaps in the given process. This can be a process name, handle, or ID. See the The default setting is to display all heaps in the system. |
!heapwalk <process> full !heapwalk all full |
Displays detailed information about heaps in the system or the specified process. Walks each heap item, looks for corruptions, and displays totals for heap use. |
<process> Walks only heaps in the specified process. This can be a process name, handle, or ID. See the all Walks all heaps in the system. full (optional) Displays summary information about each item in the heap. |
!walkthisheap <process><heap ptr> |
Displays summary information about each item in the specified heap. |
<process> (required) Process context. This can be a process name, handle, or ID. See the <heap ptr> Pointer to heap. This value can be obtained with the |
!heapitem <addr><process> |
Searches for a heap item at the specified address. The address does not have to be the start address of a heap item; it can be an offset into a heap item. If the item is found, this command displays information about the heap item, including header information. To view the complete contents of a heap item use the |
<addr> Address of item or item within. <process> (optional) Searches the heap in the specified process. This can be a process name, handle, or ID. See the |
!dumpitem <addr> <process> |
Displays the contents of a heap item, including the header. All user data is evaluated as text and displayed in DWORD increments. |
<addr> Address of a heap item. This can be obtained with the <process> (optional) Searches the heap in the specified process. This can be a process name, handle, or ID. See the |
!meminfo kernel |
Displays information about the kernel heap. |
None. |
!meminfo basic |
Windows CE 5.0 only. Displays a summary report of the memory in each process. |
None. |
!meminfo slots |
Windows CE 5.0 only. Displays a summary report of the system memory and a summary for each slot. |
None. |
!meminfo pages |
Windows CE 5.0 only. Displays all the virtual allocations and the commit information for all the pages. |
None. |
!meminfo full |
Windows CE 5.0 only. Displays all the memory information available, including page header details. |
None. |
!meminfo legend |
Windows CE 5.0 only. Displays Help regarding the symbols used to represent the pages. |
None. |