IBM Support

Enable Garbage Collection Logging for TM1Web, PMPSVC, PMHUB in Planning Analytics 2.0

Troubleshooting


Problem

This Technote provides steps to enable verbose garbage collection logging for WebSphere Liberty Profile (WLP). This logging is very useful for associating activity seen in other log files with high memory or JVM heap exhaustion problems.

Resolving The Problem

Add the following lines to the jvm.options file found in the C:\Program Files\ibm\tm1_64\wlp\usr\servers\tm1\ directory

-XX:+PrintGCApplicationStoppedTime
-XX:+PrintGCApplicationConcurrentTime
-XX:+PrintHeapAtGC
-Xverbosegclog:C:\Program Files\ibm\cognos\tm1_64\logs\gc_%Y-%m-%d-%H-%M.log
-XX:+UseGCLogFileRotation
-XX:+NumberOfGCLogFiles=20
-XX:+GCLogFileSize=10M 

Restart the IBM Cognos TM1 service (WLP) after making this change.

[{"Product":{"code":"SSCTEW","label":"IBM Planning Analytics Local"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Planning Analytics v2.0 - TM1 Application Web","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"2.0.2;2.0.1;2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
30 April 2019

UID

swg22008258