Unable to redirect heap dump using -XX:HeapDumpPath in Sun JDK 1.5.0_18

Solution Verified - Updated -

Issue

  • Using kill -3 <pid> with JVM arguments -XX:+HeapDumpOnOutOfMemoryError, -XX:+HeapDumpOnCtrlBreak, and -XX:HeapDumpPath=/foo/bar to generate thread dumps and heap dumps in JBoss EAP 4.3.0.
  • However, the heap dump is not being redirected correctly to the path mentioned in -XX:HeapDumpPath argument.

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3.0
  • Sun JDK 1.5.0_18-b02

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.