How can I run Memory Advisor if I am running a program that is using full-screen input and output?
By default, Memory Advisor sends all warning and error messages to stderr. If this interferes with your program’s screen use, use the shell to redirect the stderr output to a file, or set the MA_ERROR_FILE option to point to where you want Memory Advisor to write the messages. 19. Why does my program use much more memory when processed? Memory Advisor normally increases a program’s memory requirements in the following ways: • When allocating dynamic memory, Memory Advisor adds a boundary area to each end of an allocated segment. This allows Memory Advisor to detect overrun/underrun errors and out-of-bounds accesses, but can also significantly increase the amount of dynamic memory allocated. See the MA_BOUNDARY_POST and MA_BOUNDARY_PRE options for details. • In OMT mode, Memory Advisor adds similar boundaries to the global data areas to allow error detection in global data. See The data_boundary_size Option for details. • To keep track of your program’s memory state, Memory Advisor allo
Related Questions
- Why when running ENVIRO in Windows NT do I get the message "Insufficient memory to create the output files" after choosing the Run option?
- How can I run Memory Advisor if I am running a program that is using full-screen input and output?
- Why doesn my program generate Memory Advisor output after I build it using the memadvise command?