WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Locating and analyzing heap dumps

Use this task to locate and analyze heap dumps.

Before you begin

Do not analyze heap dumps on the Application Server machine because analysis is very expensive. For analysis, transfer heap dumps to a dedicated problem determination machine.

Why and when to perform this task

When a memory leak is detected and heap dumps are generated, you must analyze heap dumps on a problem determination machine and not on the application server because the analysis is very CPU and disk I/O intensive.

Perform the following steps to locate the heap dump files:

Steps for this task

  1. On the physical application server where a memory leak is detected, go to the WebSphere Application Server home directory. For example, on the Windows operating system, the directory is:
    C:\WebSphere\AppServer\profiles\myProfile
  2. IBM heap dump files are usually named in the following way:
    heapdump.<date>..<timestamp><pid>.phd 
  3. Gather all the .phd files and transfer them to your problem determination machine for analysis.
  4. Many tools are available to analyze heap dumps that include Rational Application Developer 6.0 (RAD). WebSphere Application Server serviceability released a technology preview called Memory Dump Diagnostic For Java. You can download this preview from the product download Web site.

What to do next

When you have couple of heap dumps, use a number of memory leak problem determination tools to analyze your problem. For example, you can download a technology preview from WebSphere Serviceability.



Related information
[Version 6.0.2]Enabling automated heap dump generation
[Version 6.0.2]Generating heap dumps manually

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tprf_collectingheapdumps.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)