Converting binary format IBM Java heap dump (.phd) to text format(.txt)?

Technote (FAQ)


Starting with IBM Java SDK 1.4.2 SR1 the default heapdump format has changed. The default format for a heapdump will be "portable heap dump format" and the file will have an "*.phd" extension. You can convert phd files to txt files to use HeapAnalyzer 1.3.2.


You can use PrintHeapdump utility to convert IBM Java heap dump phd files to txt files.

  1. Download svcdump.jar from the following document

  2. Run with phd file and redirect output to a file:
    java -classpath svcdump.jar [phd file] > [output file]

Note: You would see an exception like "String index out of bound exception" while running HeapAnalyzer 1.3.2 with converted txt file. You can disregard it since it is caused by additional new line character at the end of converted file.

Cross reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
Application Servers WebSphere Application Server - Express J2EE Development and deployment AIX, Linux, Windows 6.0.2, 6.0.1, 6.0, 5.1.1

Rate this page:

(0 users)Average rating

Add comments

Document information

More support for:

WebSphere Application Server
Java SDK

Software version:

5.1.1, 6.0, 6.1, 6.1.1, 7.0, 8.0

Operating system(s):

AIX, Linux, Windows

Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation