View Full Version : How can I tell how much memory my program is using?

02-04-2007, 06:35 AM
MemoryScape provides this information in two ways: you can see heap information as your program executes or you can display a report.
The interactive display is on the Home | Summary screen.

MemoryScape updates this display every five seconds.

You can obtain more complete memory information by selecting Memory Report | Memory Usage. Here's an example:

Here are some of the interactions you can have with these reports: Change the chart type by selecting an item in the pulldown list. Your choices are Line, Bar, Stacked Bar, and Pie.
You can change and adjust the size of the chart by selecting items from the magnifying glass pulldown list.
If you click on a process within most charts, MemoryScape selects the process in the lower half of the view. In most cases, it will draw a line or a crosshair so that you can easily compare different process values.
Sort the process information by clicking on the text above the tabular information in the bottom part of the view.
Suppress the display of memory type by clicking on the colored buttons above the chart. For example, the Text and Data areas (the green and red areas or lines) are not very interesting so you might want to click the green and red buttons so that MemoryScape does not display this information.