IBM Support

PermGen space out of memory error

Troubleshooting


Problem

TIP process fails after running several days and could not be shutdown properly. The TIP process has to be abnormally terminated so that it may be restarted.

Symptom

SystemOut.log shows the following error:

Exception created : java.lang.OutOfMemoryError: PermGen space

Cause


Insufficiently configured MaxPermSize parameter value for TIP process.

Resolving The Problem


Change -XX:MaxPermSize=512m in the genericJvmArguments parameter of the jvmEntries stanza in the following file:

$TIPHOME/profiles/TIPProfile/config/cells/TIPCell/nodes/TIPNode/servers/server1/server.xml

For example, the XML element <jvmEntries> content in the above mentioned file may reflect below:

<jvmEntries
xmi:id="JavaVirtualMachine_1308167524049"
verboseModeClass="false"
verboseModeGarbageCollection="false"
verboseModeJNI="false"
initialHeapSize="512"
maximumHeapSize="1024"
runHProf="false"
hprofArguments=""
debugMode="false"
debugArgs="-Djava.compiler=NONE
-Xdebug
-Xnoagent
.
.
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=15050"
genericJvmArguments="">


The genericJvmArguments setting may well be empty. If so, set it to the following:

genericJvmArguments="-XX:MaxPermSize=512m"

If there are existing values already configured, append -XX:MaxPermSize=512m to the argument:

genericJvmArguments="${PREVIOUS_CONTENT} -XX:MaxPermSize=512m"

As a general rule, the value should be set to a quarter of the maximum heap size (for example, the parameter maximumHeapSize="1024" in the above XML stanza).

Restart the TIP process upon the above change.

[{"Product":{"code":"SSRLR8","label":"Tivoli Components"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Tivoli Integrated Portal (TIP)","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"2.2","Edition":"","Line of Business":{"code":"","label":""}}]

Product Synonym

webgui;tip

Document Information

Modified date:
17 June 2018

UID

swg21571799