Debugging Memory Problems with MemoryScape : Chapter 2 Memory Tasks : Task 5: Seeing Memory Usage

Task 5: Seeing Memory Usage
This task tells you how to display charts that visually display memory usage information as well as obtain more detailed tables that numerically describe this same information.
Before reading this task, you should be familiar with the following information:
Chapter 1, “Locating Memory Problems”
Contains an overview of memory concepts and MemoryScape.
Task 1: “Getting Started”
Tells you how to start MemoryScape. It also contains an overview of the kinds of information you can ­obtain.
Task 3: “­Setting MemoryScape Options”
Describes how to configure MemoryScape so that it performs the activities you want it to perform.
The totals shown in the Memory Usage reports may differ slightly from those shown in the Heap Status reports, because heap status is generated from monitoring program requests for memory (malloc or new) and program release of memory (free or delete), while memory usage data is obtained from the operating system facilities. Depending on the operating system, memory usage totals may include anonymous memory regions that the program or one of its libraries may have mapped into its address space. The totals also include a small amount of overhead from MemoryScape itself.
The Memory Usage report is intended to be a quick check of your program’s memory usage from the system’s perspective. For detailed information on your program’s use of the heap, see the Heap Status reports.
To display memory usage data, select Memory | Memory Usage. You can now select a:
*
*
*
Topics within this task are:
*
*
*
*

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com