Loading

How to get heap information when heap dump is too huge to upload

Publish Date: May 22, 2026
Description

You have a huge heap dump that is hard to transport. You would like to get more information about what is inside the memory for your on-prem Mulesoft Runtime. 

Resolution

You can run a command from the JDK:

 

1) Run "jps". This will tell you the PID of the Mule process.

 

2) Run the following command. This will show you the entire heap memory sorted from class taking the highest amount of memory.

jcmd <pid> GC.class_histogram > histogram.txt
Knowledge Article Number

005384999

 
Loading
Salesforce Help | Article