Thursday, March 6

Setting Memory Arguments in WebLogic Application Server

UNIX/Linux
1. Open the domain environment sh file:
        \user_projects\domains\base_domain\bin\setDomainEnv.sh
      2. Locate the following remark, inside the sh file: (‘Search’ -> “#REM IF USER_MEM_ARGS”)
        #REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
      3. Directly after this remark, add the following line:
       USER_MEM_ARGS=-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -   XX:MaxPermSize=512m

1 comment: