When your program allocates a memory block, MemoryScape can write additional memory segments both before and after the block. These segments are called
guards. Immediately after creating the guards, MemoryScape also initializes them to a bit pattern.
Enable guard blocks either by selecting a level of Medium or selecting the check box in the
Advanced screen.
Figure 46 shows the portion of that screen that controls guard blocks.
You can also set a maximum size for the guard blocks that surround a memory allocation. The need for this control is not self-evident until you understand that the size actually used for a guard block can be greater than the pre-guard and post-guard sizes due to the way an operating system aligns information. If memory is tight, setting a value here ensures that blocks do not use an excessive amount of memory.