The Java run-time system performs garbage collection automatically. It finds memory that a program is no longer using and frees it. In the Profiling Tool, garbage collection can only be run if the process is active. Garbage collection is available from Memory Statistics view.
Prerequisites:To view details about garbage collection, follow these steps:
from the toolbar to display the package statistics.
to view the statistics at the class level.
in the toolbar. The instance level
is available only if you have collected instance level information in the profiling criteria. To setup the profiling criteria, refer to the Specifying profiling criteria topic.
. The
view is refreshed showing the changes in the number of active instances at the package level.Related concepts
Overview of the Profiling Tool
Execution flow view and table
Statistical views
Related tasks
Profiling an application
Launching or attaching a Java process
Identifying resource-intensive methods
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.