Creating a Java heap dump

Solution Verified - Updated -

Issue

  • Weird behavior and out of memory issues.
  • How do I create a Java heap dump?
  • Any special considerations for clustering environments?
  • Configure JBoss EAP create Heap dump automatically
  • Generate heap Dump after process is killed
  • Specify location of file output

Environment

  • Java
    • Oracle (Sun) JDK
    • OpenJDK
    • HP-UX JDK
    • JRockit
  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In