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, Figure 48. (Note that specifying 0 as the upper limit means the upper bound is unlimited.) For example, if you have an array that is 1500 bytes, you can define the range to be from 1000 to 2000 bytes, and Red Zones are applied only to allocations within this range. This limits the additional overhead in memory consumption and targets your array or structure.
 
Figure 48: Red Zone Size Ranges