Memory Tab - Data Browser Window (Memory Profiling)

Illustration         Related Topics

Select View > Data Browser in the Purify menu, or click images\browsertool.gif and select the Memory tab to view summary data for aggregate runs and snapshots. The Memory view gives you an overview of your program's status, and where and how much memory it is allocating during a run. Purify automatically displays the memory view when you begin profiling a .NET managed program.

These are the main controls in the tab:

§          Threads list: Shows the status of all threads and fibers in the program for the selected run or snapshot. The single block to the left of the thread or fiber name indicates its current status, or its status at the time of the snapshot. The bar to the right of the thread or fiber name indicates how its activities were apportioned during the time period covered by the run or snapshot.

§          Memory allocation graph: A graphical representation of the total amount of memory allocated to the program over the time period covered by the selected run or snapshot. The graph indicates with images\javagcmark.gif where garbage collections occurred, and with images\navsnap.gif and dashed lines where snapshots were taken.

§          Memory graph slider: Expands or contracts the X-axis (time) of the Memory allocation graph. Use the Memory graph slider to zoom in and examine changes in memory use in greater detail.

§          Summary data pane: Shows summary information for the selected run or snapshot.

You can do the following operations in the Memory view:

To

Do this

Pause or resume updating the threads list and Memory allocation graph

While your program is running, right-click in the threads list and select Sample Profiling Status from the shortcut menu.

Zoom the Memory allocation graph

Click and drag the Memory graph slider control bar.

View information about a garbage collection or snapshot

In the Memory allocation graph, pause the cursor over any garbage collection images\javagcmark.gif or snapshot images\navsnap.gif to display information about the event.

Notes:

§      While a program is running, Purify updates the threads list and Memory allocation graph at one-second intervals. After the program has exited, you can review the summary information for runs and snapshots by clicking on the corresponding entries in the Navigator.

§      Double-click a thread name in the threads list to synchronize the data display in the Call Graph and Function List View.

§      Under heavy load conditions, Purify shows thread and fiber status as Purify (gray) during snapshot or forced garbage collect operations.

§      The Data Browser window for diff runs does not display the Memory tab.

(C) Copyright IBM Corporation 1992, 2010.