Loading

How to Force a Full JVM Garbage Collection on a Live Runtime

Julkaisupäivä: Mar 2, 2024
Tehtävä

GOAL

Force JVM to perform full heap garbage collection (GC) on a running Mule server
Vaiheet

Using command line, execute the following:

jcmd MULE_PID GC.run

where MULE_PID - Process ID of the running runtime.
More help on how to identify it can be found at How to obtain as much information as possible from an unresponsive Mule server

For example: 

$ jcmd 6733 GC.run
6733:
Command executed successfully
$

Useful links:

More information on jcmd can be found at The jcmd Utility
Installing a Runtime. JDK or JRE?

Knowledge-artikkelin numero

001117214

 
Ladataan
Salesforce Help | Article