Debugging Memory Problems with MemoryScape : Chapter 5 MemoryScape Scripting : Other Command Line Options

Other Command Line Options
This section presents the other command line options that can be used. The format of these options is much simpler than –event_action.
–guard_blocks
Turn guard blocks on.
–red_zones_overruns
Turn testing for Red Zone overruns on.
–red_zones_underruns
Turn testing for Red Zone underruns on.
–detect_use_after_free
Turn testing for use after memory is freed on.
–hoard_freed_memory
Turn the hoarding of freed memory on.
–hoard_low_memory_threshold nnnn
Specify the low memory threshold that will generate an event.
–detect_leaks
Turn leak detection on.
–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, MemoryScape adds information to the beginning of the log file. This information includes time stamps for the file and for when processes start, the name of the program, and so on.

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