Task 5: Seeing Memory Usage
This task generates charts that visually display memory usage information, along with detailed tables that numerically describe this information.
Before reading this task, you should be familiar with the following information:
An overview of memory concepts and MemoryScape.
How to start MemoryScape and an overview of the kinds of information you can obtain.
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 n 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. Select these reports:
• High-level process report
• Detailed program and library report
• Chart Report
Topics in this task are: