Importing heap dumps for memory leak analysis

Instead of collecting heap dumps to analyze memory leaks, you can import heap dumps collected outside of the Workbench.

Two heap dumps must be available for a process in one of the available formats.

For a list of available formats, click File > Import, and then select Heap Dump from the Import dialog box. Select a format in the list to display additional information.

To import heap dumps:
  1. In the Profiling and Logging perspective, right-click in the Profiling Monitor, and then click Import
  2. In the Import dialog box, select Heap dump, then click Next.
  3. From the list of available formats, select the format of the heap dumps that you are importing, then click Next.
  4. Browse to enter a directory in the From directory field to set the location of the heap dumps, and then double-click a directory in the list of Selected Directories to display a list of heap dump files.
  5. In the list of Selected Heap Dump Files, select the check boxes for the heap dump files that you want to import. The two heap dumps must be for the same process. For most heap dumps, the process ID is included in the file name. For IBM® heap dumps, it is the third and final group of digits, immediately before the file extension; for example, in the file heapdump.20041201.124047.234.txt, 234 is the process ID. Note that in the HProf heap dump format, a single file can contain multiple heap dumps.
  6. Indicate the destination project location and monitor name for the imported resources, then click Finish. The imported heap dumps appear in the Profiling Monitor as profiling resources.
Related tasks
Generating a list of leak candidates
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.