TotalView : TotalView User Guide : PART VI Memory Debugging : Memory Scripting : display_specifiers Command-Line Option : Other Command Line Options
Other Command Line Options
The memscript command takes these additional options.
-guard_blocks
Turn on guard blocks.
-red_zones_overruns
Turn on testing for Red Zone overruns.
-red_zones_underruns
Turn on testing for Red Zone underruns.
-detect_use_after_free
Turn on testing for use after memory is freed.
-hoard_freed_memory
Turn on the hoarding of freed memory.
-hoard_low_memory_threshold nnnn
Specify the low memory threshold that will generate an event.
-detect_leaks
Turn on leak detection.
-red_zones_size_ranges min:max,min:max,...
Specify the memory allocation ranges for which Red Zones are in effect. Ranges can be in the following formats:
x:y allocations from x to y :y allocations from 1 to y x: allocations of x and higher x allocation of x
-maxruntime hh:mm:ss
Specify the maximum amount of time the script should run where:
hh: number hours mm: number of minutes ss: number of seconds
As a script begins running, TotalView adds information to the beginning of the log file. This information includes time stamps for both the file when processes start, the name of the program, and so on.