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.
Note : choosing the values depend on you server hardware.
Thanks
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.
Thanks
Аффтар пиши исчо нах. Зачетный камент!
ReplyDeletewhat's surprising here...?
ReplyDeletethis is not enough to avoid out of memory. you must do more proper configuration for clusters
ReplyDelete