How to extract a thread dump from a java heap dump

Solution Verified - Updated -

Issue

  • We want to generate the thread dump when an OutOfMemoryError happens. Let us know if we need to set any jvm level parameter to generate thread dump on server crash.
  • Is it possible to get thread dump information from a heap dump?

Environment

  • Java

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