Calling Garbage Collector manually - Universal Messaging


It’s Possible to call Garbage Collector manually for universal Messaging to free up memory and disk space ? if yes, how can it be triggered ?
It is a bad practice to run Garbage Collector manually ?

Thank you

What product/components do you use and which version/fix level are you on?


Is your question related to the free trial, or to a production (customer) instance?


What are you trying to achieve? Please describe it in detail.

Do you get any error messages? Please provide a full error message screenshot and log file.

Have you installed all the latest fixes for the products and systems you are using?

This is not recommended (I’m not sure how with UM anyway).

  1. Make sure explicit garbage collection is disabled for the realms. This should be the default.
    You can do this using the Universal Messaging Enterprise Manager tool to check. Select the realm, then click Config. Look within Global Values and make sure DisableExplicitGC is set to true. Set to it to true if it’s false.

  2. Do not change the default garbage collector for UM. Leave it at the default.


  1. What are your JVM initial and max values set to?

  2. Have you added. changed or deleted any of the JVM “-XX” parameters in the UM config file or are they the defaults from install?

  3. Have you applied all fixes to UM ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.