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 filter the information displayed, use dheap –filter.
To check for leaks, use dheap –leaks.
To paint memory with a bit pattern, use dheap –paint.
To hoard memory, use dheap –hoard.
To export view information, use dheap –export.
To detect bounds and use-after-free errors, use dheap –red_zones.
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 |