IBM Support

Recommended JVM memory parameters

Troubleshooting


Problem

Recommended JVM memory parameters

Symptom

Following are the recommended JVM parameters. Please test all these parameters in your test/staging environment by running load tests before implementing them to your Production environment. Also, the following parameters are for Sun JDK. If you are using JDK from different vendor, you might want to check the appropriate equivalent parameter.

-XX:+DisableExplicitGC - Disable calls to System.gc(), JVM still performs garbage collection when necessary.

-Dsun.rmi.dgc.server.gcInterval=3600000, -Dsun.rmi.dgc.client.gcInterval=3600000 - Default distributed GC for RMI is set at 60 secs (60000 ms). This is very low and leads to regular Full GC every 60 secs. It is recommended that this value should be increased to 60 mins (3600000 ms).

-XX:MaxPermSize=128m - Size of the Permanent Generation. In some cases you might need to increase it to 256m depending on your load. The default value is 64m which is very low.

Resolving The Problem

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MCS","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX7114

Product Synonym

[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix

Document Information

Modified date:
16 June 2018

UID

swg21556814