How to generate a jvm Heap dump for troubleshooting issues

Document created by mike_aronson Employee on Jan 10, 2017
Version 1Show Document
  • View in full screen mode

The Boomi atom, molecule and cloud nodes run on a JVM.

 

For some issues, you may need to generate a JVM Heap dump for troubleshooting issues.

To generate a heap dump, you should be able to use jmap as described at this link:

 

http://docs.oracle.com/javase/7/docs/technotes/tools/share/jmap.html

 

It should be distributed with the JDK you have on the server already for the atom, molecule or cloud. 
If you only have the JRE installed, then you will need to download and install the JDK as well.

 

To use jmap, you would need to determine the process id (PID) of the head node or local atom.

 

The PID should be a number obtained by looking at either the Windows Task Manager or Windows
Services Manager of your head node or local atom.  Once you have the Windows Task Manager
open, select the Services tab and then find the name of your atom listed.  You should then be
able to see the PID under its column.

 

Then run this command:


jmap -dump:format=b,file=heap.hprof <pid>

 

Then copy the output from this command and analyze it for performance.

 

If needed, attach this output to the support case as appropriate.

2 people found this helpful

Attachments

    Outcomes