Modify the below file to increase the heap space.
$MW_HOME/user_projects/domains/domain_name/bin/setDomainEnv.sh
Add the environment variable USER_MEM_ARGS
USER_MEM_ARGS="-Xms4G -Xmx8G -XX:PermSize=256m -XX:MaxPermSize=512m"
export USER_MEM_ARGS
Setting this variable overwrites any default java memory arguments passed during startup.Once done restart the admin and managed servers for the change to take effect.
For starting admin server :
$MW_HOME/user_projects/domains/domain_name/bin/startWebLogic.sh
For starting managed server:
$MW_HOME/user_projects/domains/domain_name/bin/startManagedWebLogic.sh
No comments:
Post a Comment