So you want your JVM’s heap… - http://blogs.atlassian.com/2013...
How to get Java thread dump from a core file - Igor Sereda