Weblogic on Mac - memory errors

If you are running Weblogic on Mac or some unsupported version of Linux, you might get OutOfMemoryError quite often (esp. if you are using the web console). To get rid of this, open the <domain root>/bin/setDomainEnv.sh file and add this line:

USER_MEM_ARGS=”-Xms512m -Xmx1024m -XX:MaxPermSize=128m”

Its should be fine for the weblogic. If you have only 1GB RAM, your other apps will beg for more memory. So if you requently use weblogic and other apps simultaneously, better upgrade to 2 GB RAM.

Related:

Installing Weblogic on Mac

Posted in Labels: , , |

0 comments: