EMCC: EMGC_ADMINSERVER OutOfMemoryError

Tentative workaround to address an error “java.lang.OutOfMemoryError: Java heap space” raised by an EMGC_ADMINSERVER Weblogic server of an EMCC 13.2 instance.

Edit /u01/app/oracle/gc_inst/user_projects/domains/GCDomain/bin/startweblogic.sh to add the following contents to increase the memory of the AdminServer:

# START WEBLOGIC
JAVA_VM=-server
echo "****************************************** Debug"
echo "ServerName=${SERVER_NAME}"
if [ "${SERVER_NAME}" = "EMGC_ADMINSERVER" ]; then
 MEM_ARGS="-Xms4096m -Xmx4096m -XX:MaxPermSize=768m -verbose:gc "
 echo "MEM_ARGS=${MEM_ARGS}"
fi
echo "****************************************** Debug"

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s