I\'m trying to use the jmap
command on my CentOS
server but it keeps telling me that the command was not found even though I have the JDK installed. >
OpenJDK on centos doesn't include the jmap utility. test on another platform or use the jhat java_pid1234.hprof
command to examine the dump after the fact on another platform.
jhat can be slow to run on large dumps and even run out of memory! I use jhat -port 7000 -J-mx2048m java_pid1234.hprof
so you'll need plenty of ram on your computer.