Debugging Memory Problems with MemoryScape : Red Zones: Restricting
Red Zones: Restricting
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 on this screen. (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.