Loading

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

Дата публикации: Mar 2, 2024
Задача

GOAL

Force JVM to perform full heap garbage collection (GC) on a running Mule server
Действия

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?

Номер статьи базы знаний

001117214

 
Загрузка
Salesforce Help | Article