Configuring JVM options

Administrators can add Java™ virtual machine (JVM) configuration options to the IBM® WebSphere® Application Server Liberty application server on which a server bundle runs. For example, you can specify memory options to improve performance or specify logging options for the server bundle.

About this task

You can specify JVM options for a server bundle in the custom resource for the Maximo® Manage workspace.

Procedure

  1. In the Administration section of the OpenShift® console, select Custom Resource Definitions.
  2. In the Custom Resource Definitions window, select the Manage workspace.
  3. On the YAML tab, find the jvmOptions property in the bundle level properties for server bundles in the deployment section.
  4. Specify one or more values for the JVM options in the format that is shown in the following examples:
    jvmOptions: -Xms4m\n-Xmx488m\n-XX:MaxPermSize=256m
    jvmOptions: -Dcom.ibm.example.system.property=ExampleValue\n-verbose:gc\n-Xverbosegclog:verbosegc.log,
                    bundleLevelProperties: mxe.crontask.donotrun=ALL\nmxe.int.adminfromemail=user@ibm.com
  5. Save the changes.