This is common exception always exists if you install weblogic and doesn’t extend memory arguments in server.
The file “setDomainEnv.sh” in $WLS_HOME/user_projects/domains/<domainName>/bin/ has configuration of domain.
If you edit this file it will have the following default values.
MEM_ARGS=”-Xms256m -Xmx512m”
export MEM_ARGS
MEM_PERM_SIZE=”-XX:PermSize=48m”
export MEM_PERM_SIZE
MEM_MAX_PERM_SIZE=”-XX:MaxPermSize=128m”
export MEM_MAX_PERM_SIZE
you should modify the MEM_ARGS java memory value depending of your server, here is the suggested to increase.
MEM_ARGS=”-Xms2024m -Xmx3036m”
export MEM_ARGS
MEM_PERM_SIZE=”-XX:PermSize=128m”
export MEM_PERM_SIZE
MEM_MAX_PERM_SIZE=”-XX:MaxPermSize=512m”
export MEM_MAX_PERM_SIZE
Note : choosing the values depend on you server hardware.
No comments:
Post a Comment