Enabling Memory Dumps
Stop all SOA Services
Using Admin Console
cd $DOMAIN_HOME/bin
Take backup of setSOADomainEnv.sh
cp setSOADomainEnv.sh setSOADomainEnv.sh.bkp
Before:
==================================================================
cat setSOADomainEnv.sh | grep PORT_MEM_ARGS
PORT_MEM_ARGS="-Xms1024m -Xmx2048m"
PORT_MEM_ARGS="${PORT_MEM_ARGS}
-XX:PermSize=1024m -XX:MaxPermSize=1024m"
USER_MEM_ARGS=${PORT_MEM_ARGS}
USER_MEM_ARGS="-d64 ${PORT_MEM_ARGS}"
USER_MEM_ARGS="${PORT_MEM_ARGS}"
USER_MEM_ARGS=${PORT_MEM_ARGS}
USER_MEM_ARGS="-d64 ${PORT_MEM_ARGS}"
After:
===================================================================
cat
setSOADomainEnv.sh | grep PORT_MEM_ARGS
PORT_MEM_ARGS="-Xms1024m -Xmx2048m"
PORT_MEM_ARGS="${PORT_MEM_ARGS} -XX:PermSize=1024m
-XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/ud2004/dump"
USER_MEM_ARGS=${PORT_MEM_ARGS}
USER_MEM_ARGS="-d64 ${PORT_MEM_ARGS}"
USER_MEM_ARGS="${PORT_MEM_ARGS}"
USER_MEM_ARGS=${PORT_MEM_ARGS}
USER_MEM_ARGS="-d64 ${PORT_MEM_ARGS}"
Start All SOA Services and
perform health check.
No comments:
Post a Comment