TotalView Reference Guide : Part I: CLI Commands :  CLI Commands : dheap
dheap
Controls heap debugging
Format: 
Shows Memory Debugger state
dheap [ -status ]
Applies a saved configuration file
dheap -apply_config { default | filename }
Shows information about a backtrace
dheap -backtrace [ subcommands ]
Compares memory states
dheap -compare subcommands [ optional_subcommands ]
[ process | filename [ process | filename ] ]
Enables or disables the Memory Debugger
dheap { -enable | -disable }
Enables or disables event notification
dheap -event_filter subcommands
Writes memory information
dheap -export subcommands
Specifies the filters the Memory Debugger uses
dheap -filter subcommands
Writes guard blocks (memory before and after an allocation)
dheap -guard [ subcommands ]
Enables or disables the retaining (hoarding) of freed memory blocks
dheap -hoard [ subcommands ]
Displays Memory Debugger information
dheap -info [ subcommands ]
Indicates whether an address is in a deallocated block
dheap -is_dangling address
Locates memory leaks
dheap -leaks [ -check_interior ]
Enables or disables Memory Debugger event notification
dheap -[no]notify
Paints memory with a distinct pattern
dheap -paint [ subcommands ]
Enables or disables the ability to catch bounds errors and use-after-free errors retaining freed memory blocks
dheap -red_zones [ subcommands ]
Enables or disables allocation and reallocation notification
dheap -tag_alloc subcommand [ start_address [ end_address ] ]
Displays the Memory Debugger version number
dheap -version
Description: 
The dheap command is described in the Batch Scripting section of Locating Memory Problems in the MemoryScape documentation.