FreeKB - Manually create a heap dump
IBM WebSphere - Manually create a heap dump

Before creating a heap dump, you usually want to define the directory where the heap dump will reside and define the amount of memory the application server has for the heap. Instead of manually creating a heap dump, you can configure WebSphere to automatically create a heap dump


Manually create a heap dump using the WebSphere web console

  1. In the WebSphere admin console, expand Troubleshooting and select Java dumps and cores.
  2. Check the application server and select Heap dump.

In this example, a heap dump is manually created for the server4 JVM.


Manually create a heap dump using the wsadmin utility

Launch wsadmin using the Jacl language, and then issue the following commands.

wsadmin> set objectName [$AdminControl queryNames WebSphere:type=JVM,process=<servername>,node=<nodename>,*]  
wsadmin> $AdminControl invoke $objectName generateHeapDump


After the heap dump has been created, you will want to analyze and respond to the heap dump.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter a2d50 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |