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, 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