If you want to change default Memory Settings in SOA and Customize them according to your Admin and Managed Servers.
Increase Heap size memory in SOA Server follow below steps:
Backup for setSOADomainEnv.sh (/user_projects/domain/<soa_domain_name>/bin/setSOADomainEnv.sh
Update setSOADomainEnv.sh
Find - Below Values in setSOADomainEnv.sh:
DEFAULT_MEM_ARGS="-Xms512m -Xmx1024m"
PORT_MEM_ARGS="-Xms768m -Xmx1536m"
Replace With - Below Custom Values:
# line to specify different Xmx and Xms values to soa_server.
if [ "${SERVER_NAME}" = "soa_server1" ] ; then
DEFAULT_MEM_ARGS="-Xms2048m -Xmx2048m"
PORT_MEM_ARGS="-Xms2048m -Xmx2048m"
elif [ "${SERVER_NAME}" = "" ] || [ "${SERVER_NAME}" = "AdminServer" ]; then
DEFAULT_MEM_ARGS="-Xms512m -Xmx512m"
PORT_MEM_ARGS="-Xms512m -Xmx512m"
fi
3. Restart Admin and Managed Servers, Check new settings using below commands.
4. ps -ef |grep AdminServer and ps -ef |grep soa_server1
No comments:
Post a Comment