Changing JVM options on application servers

You can adjust the Java™ Virtual Machine (JVM) options on the IBM OpenPages® application servers.

About this task

The IBM OpenPages installation process configures the JVM when you install, upgrade, or migrate OpenPages. You can view the default JVM options in the following file: <OP_HOME>/wlp-usr/servers/<server_name>Server<#>/jvm.options. In most cases, you do not need to change the defaults. If you do need to change them, use an override file.

Procedure

  1. Log on to the application server.
  2. Edit the following file: <OP_HOME>/wlp-usr/servers/<server_name>Server<#>/configDropins/overrides/jvm.options

    If the file does not exist, create it by using a text editor.

  3. Type the JVM options that you want to change. Type each option on a new line.
    For example, the following lines set the initial heap size to 1 GB and the maximum heap size to 4 GB.
    -Xms1g
    -Xmx4g
    Note: This example shows the options that OpenPages uses by default.
    For more information, see the WebSphere® Liberty documentation.
  4. If this is a load-balanced environment, repeat this procedure on each application server in the load-balanced environment.
  5. Restart all OpenPages services.
    For more information, see Starting application servers.