Increasing the heap size allocated to the JVM running IAS in WebLogic Server

If you need to modify the JVM arguments for IAS running in WebLogic Server, you update the JVM arguments stored in <install path>\IAS\<version>\bin\setIasEnv. For example, this is sometimes necessary if you need to allocate a larger heap size to the JVM that runs IAS.

The JVM arguments that affect heap size allocation are the following:
  • -Xms specifies the initial heap size allocated to the JVM.
  • -Xmx value specifies the maximum heap size allocated to the JVM.

To specify JVM arguments for IAS running in WebLogic Server:

  1. Stop the IAS application in WebLogic Server.
    For example, from a command prompt, run stopWebLogic in C:\Oracle\Middleware\user_projects\domains\ias\bin.
  2. On the file system, navigate to <install path>\IAS\<version>\bin.
  3. Open setIasEnv (either .cmd or .sh depending on your platform) in a text editor.
  4. Locate the JVM_ARGS settings and modify the values as necessary.

    For example, to increase the maximum heap size from 3 GB to 4 GB, change -Xmx to the following:

    SET JVM_ARGS=-Xms1g -Xmx4g ... 
  5. To add a new JVM option, add a new line at the end of the file: SET JAVA_OPTIONS=%JAVA_OPTIONS% -D<otherJvmOption>=<otherJvmValue> and provide the necessary option and value.
  6. Save and close setIasEnv.cmd.
  7. Re-start IAS in WebLogic Server.

    For example, from a command prompt, run startWebLogic in C:\Oracle\Middleware\user_projects\domains\ias\bin.