While the information in this section relates directly to the Heap Status reports, you will find these reports throughout MemoryScape either as separate reports or as areas within a report. The Source and Backtrace reports are shown in
Figure 63.
The totals shown in the Heap Status reports may differ slightly from those shown in the Memory Usage 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, use the Heap Status reports.
Which report you should use or when you use a report is mostly a matter of the way in which you want to approach the data. In general, most users prefer to approach this kind of information through Source reports. However, some like to see memory information organized on the way the program creates blocks.
Tells you how to start MemoryScape. It also contains an overview of the kinds of information you can obtain.
Describes how you obtain a graphic overview of how this heap is laid out as well as how to obtain more detailed information about individual blocks.