To set the heap size in Windows:
- Open the <DOMAIN_HOME>/bin/setDomainEnv.cmd file for editing.
- Locate the if NOT "%USER_MEM_ARGS%"=="" ( line, and add the following code before it:
if
"%SERVER_NAME%"=="odi_server1" (
set USER_MEM_ARGS=-Xms512m -Xmx3072m
-XX:PermSize=256m -XX:MaxPermSize=512m
)
To set the heap size in Linux:
- Open the <DOMAIN_HOME>/bin/setDomainEnv.sh file for editing.
- Locate the if [ "${USER_MEM_ARGS}" != "" ] ; then line, and add the following code before it:
if
[ "${SERVER_NAME}" = "odi_server1" ] ; then
USER_MEM_ARGS="-Xms512m -Xmx3072m
-XX:PermSize=256m -XX:MaxPermSize=512m"
export USER_MEM_ARG
fi
No comments:
Post a Comment