Share via


Run DevHealth (Compact 7)

3/12/2014

You can run DevHealth with command-line options to produce different memory usage reports. When you run DevHealth with no command-line options, the output is the same as when you use the option /all. The command-line options are listed in the following table.

Command-line option Result Report description (if applicable)

/all

Produces all of the reports listed in this table. The output is the same as if there were no command-line options.

Each report is described in this table.

/system

Produces a system memory report

This report lists the amount of RAM and non-volatile storage that is on the device and provides an overview of the number of pages that are used by each consumer of RAM.

/map

Produces a system memory map report

This report shows the individual page types of the virtual memory that is used by each process.

/proc

Produces a process report

For each process, this report lists the number of pages of virtual memory that are used for a subset of page types.

/mod

Produces a module report

For each DLL module, this report lists the number of pages of virtual memory that are used for a subset of page types.

/heap

Produces a heap report

For each heap that is used by each process, this report lists the starting and ending address and the number of blocks that are allocated for each module.

/depend

Produces a dependency report

This report lists the module reference counts for all processes and DLL modules that are loaded into memory.

/ignoredup

Ignores duplicate pages

None.

/pte

Displays page table entries

None.

/timer

Generates a report every 15 minutes

None.

The following procedures show you how to run DevHealth on your device or by using Platform Builder on your development computer. If you use Platform Builder, make sure that your development computer is connected to your device before starting that procedure.

To run DevHealth on your device

  1. On your device, open a Command Prompt window.

  2. At the command prompt, type devhealth.exe <command-line options>

To run DevHealth from Platform Builder 

  1. In Platform Builder, click Target, and then click Target Control.

  2. At the Target Control command prompt, type s devhealth.exe <command-line options>

See Also

Concepts

DevHealth Memory Use Tool