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?
The -Xrunhprof
option 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 use jhat
to read the binary format. As noted in the docs, java -Xrunhprof:help
will tell you what the options are.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.