IBM Support

Starting Weblogic server returns Out Of Memory Exceptions

Troubleshooting


Problem

After Weblogic Application Server is active for a while and in the process of scoring models, the Weblogic server starts logging memory errors. The weblogic log shows: java.lang.OutOfMemoryError: PermGen space Stack Trace:java.lang.OutOfMemoryError: PermGen space The Weblogic server instance is being started with Xmx property setting of 2048m. Starting WLS with line: /export/home/bea92/jdk1.5.0_15/bin/java -server -Xms512m -Xmx2048m -XX:MaxPermSize=128m -d64 -da -Dplatform.home=/export/home/bea92/weblogic92 -Dwls.home=/export/home/bea92/weblogic92/server -Dwli.home=/export/home/bea92/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/export/home/bea92/patch_weblogic922/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/export/home/bea92/weblogic92/server/lib/weblogic.policy weblogic.Server

Resolving The Problem

Modify the USER_MEM_ARGS Xmx parameter setting and the MaxPermSize value in the startWebLogic.sh from 512 to 2048m.

By the default the startWebLogic.sh USER_MEM_ARGS parameter is set to 512 as well as the MaxPermSize value:

USER_MEM_ARGS="-Xms256m -Xmx512m -XX:MaxPermSize=512m"

Modify the USER_MEM_ARGS Xmx value as well as the MaxPermSize to 2048:

USER_MEM_ARGS="-Xms256m -Xmx2048m -XX:MaxPermSize=2048m

[{"Product":{"code":"SSMV3S","label":"IBM SPSS Risk Control Builder"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"5.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

81012

Document Information

More support for:
IBM SPSS Risk Control Builder

Software version:
5.0

Operating system(s):
Windows

Document number:
422389

Modified date:
16 June 2018

UID

swg21482745