Heap Dump On Java 1.4.1

1.5k views Asked by At

is there anyway that I can take a heap dump using java 1.4.1 on Solaris 9?

I'm using a very old application server and java version and would like to take a heap dump. I'm gonna use it on production so hprof may not be an option. Is there any tools that I could install ?

Thanks

1

There are 1 answers

0
fglez On

There seem to be bugs with HPROF for JDKs 1.4 and 1.4.1

Warning: JDK 1.4 and JDK 1.4.1 contains a bug in hprof. You cannot use these versions with HAT.

so you may consider upgrading to latest update from JDK 1.4.2

This way you could use backported jmap for Solaris to take a heap dump like described here.