My Oracle Support Banner

Different Methods to Generate Java Heap Dump to Help Troubleshoot Issues in WebLogic Server (Doc ID 2446964.1)

Last updated on JULY 20, 2024

Applies to:

Java SE JDK and JRE - Version 7 and later
Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Purpose

There are several ways to generate Java heap dump in order to help troubleshoot issues with WebLogic Server

This document provides confirmed methods using JDK7 and later version (but almost all may be applied to JDK6).

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Troubleshooting Steps
  
 1. Use jcmd (most popular)
 2. Use jmap
 3. Use Java Option (recommend in server products)
 4. Use gcore and jmap
 5. Use jmc (Java Mission Control)
 6. Use jconsole
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.