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