Red zone length, Errors and Leaks tab, Settings Dialog Box (Error Detection)

Type or select the number of bytes you want Purify to insert at the beginning and end of each allocated block of memory at run time.

Increasing this number can help catch more distant overwrites, which could otherwise appear in the instrumented program as writing into other allocated blocks. However, increasing this number can also make the instrumented program run slower because it requires more memory.

Note:

§      If changing the red zone size causes changes in the program's behavior, you probably have a bug in your code.

(C) Copyright IBM Corporation 1992, 2010.