EPM 11.1.2 - Increasing JVM Size of WLS Admin Server

In order to make sure successful deployments of several EPM web applications. It is highly recommended to tune the Admin Server java heap size.


Tip: JVM size of Admin server can be increased by changing Xmx and Xms values in setDomainEnv.cmd | .sh,  which is located in $MW_HOME/user_projects/domains/<Domain>/bin


Depending up on type of JVM used make the changes in following block in setDomainEnv.cmd | .sh file. Below is the example on how to change the value of XMS and XMX of 64 Bit JRockit to 1024 and 2048 and also declare support for larger heap size parameter.

set XMS_SUN_64BIT=256

set XMS_SUN_32BIT=256

set XMX_SUN_64BIT=512

set XMX_SUN_32BIT=512

set XMS_JROCKIT_64BIT=1024


set XMX_JROCKIT_64BIT=2048

@REM Declare new switch to support larger heap size for 64bit




if "%JAVA_VENDOR%"=="Oracle" (

                set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_JROCKIT_64BIT%m -Xmx%XMX_JROCKIT_64BIT%m --XXcompressedRefs:size=%COMPRESSED_REF%GB

                set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_JROCKIT_32BIT%m -Xmx%XMX_JROCKIT_32BIT%m

) else (

                set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_SUN_64BIT%m -Xmx%XMX_SUN_64BIT%m

                set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_SUN_32BIT%m -Xmx%XMX_SUN_32BIT%m


Post a Comment:
Comments are closed for this entry.