Debugging Memory Problems with MemoryScape : Chapter 2 Memory Tasks : Task 3: ­Setting MemoryScape Options : Advanced Options : Restricting Red Zones

Restricting Red Zones
You can restrict Red Zones to apply to blocks of defined sizes. For instance, if you suspect that your program is overwriting the bounds of a large array or structure, you can specify a range that includes the size of the array or structure, as shown in the following figure. (Note that specifying 0 as the upper limit means the upper bound is unlimited.) If you have an array that is 1500 bytes, you can define the range to be from 1000 to 2000 bytes, and Red Zones will be applied only to allocations within this range. This limits the additional overhead in memory consumption and targets your array or structure.
 

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