Debugging Memory Problems with MemoryScape : Chapter 1 Locating Memory Problems : Batch Scripting and Using the CLI : Using the –dheap Command

Using the –dheap Command
The dheap command tracks memory problems from within the CLI. The dheap command supports the same functionality as that within the GUI, with some additional options. Here are actions common to both interfaces:
*
To see the status of MemoryScape, use the dheap command with no arguments.
*
To display information about the heap, use dheap –info. You can show information for the entire heap or limit what TotalView displays to just a part of it.
*
To enable and disable MemoryScape, use dheap –enable and dheap –disable.
*
To start and stop error notification, use dheap –notify and dheap –nonotify.
*
*
*
*
To hoard memory, use dheap –hoard.
*
*
*
To compare memory states, either against a baseline or against a saved state or between two saved states, use dheap –compare.
 
Some dheap options are not available in the GUI.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com