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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content