Step1: Make a backup for setSOADomainEnv.cmd(/user_projects/domain/<soa_domain_name>/bin/setSOADomainEnv.cmd
Step2: In the file called setSOADomainEnv.cmd
- replace
DEFAULT_MEM_ARGS="-Xms512m -Xmx1024m"
PORT_MEM_ARGS="-Xms768m -Xmx1536m"
- with
if [ "${SERVER_NAME}" = "SERVERNAME" ]; then
DEFAULT_MEM_ARGS="-Xms2048m -Xmx2048m"
PORT_MEM_ARGS="-Xms2048m -Xmx2048m"
else
DEFAULT_MEM_ARGS="-Xms512m -Xmx1024m"
PORT_MEM_ARGS="-Xms768m -Xmx1536m"
fi
Step3:restart the servers
No comments:
Post a Comment