I\'ve tried this Get a heapdump on JVM from Tomcat 6
but it doesn\'t work for me, Is there other ways to get heap dump from tomcat server? Thanks in advance!
I recommend visual VM http://visualvm.java.net/ It is a all in one tool which can connect to tomcat, create and read heap dump, creates thread dump, cpu and memory sampler.
If you use new jdk 1.7, VisualVM is already packaged in your jdk folder.