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, select 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, from the pop-up menu, select Import . . .

  2. In the Import dialog box, select Heap dump and click the Next button.

  3. From the list of available formats, select the format of the heap dumps that you are importing and click the Next button.

  4. Select a directory from the list of Selected Directories.

  5. Check the checkboxes for the heap dumps from the list of Selected Heap Dump Files. 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(C) 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.

  6. Indicate the location for the imported resources if different from the default and click the Finish button. The imported heap dumps appear in the Profiling monitor as profiling resources.

 

Parent topic

Obtaining heap dumps for memory leak analysis

 

Related tasks

Generating a list of leak candidates