I have a WebLogic 7 server, running under j2sdk1_3 on a Solaris platform.
Since Java5, I know the jmap command is very usefull for analyzing and troubleshooting a memory leak.
Is there a similar tool that can be used on Java 1.3?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
-Xrunhprofoption is available on the 1.3 JVM executable. This will generate a heap dump, in either ASCII or binary format, when the JVM exits (whether or not due to out-of-memory). If you have a modern development machine, I believe you can usejhatto read the binary format. As noted in the docs,java -Xrunhprof:helpwill tell you what the options are.