Java virtual machine options
The Java™ virtual machine that executes the Liberty runtime can be customized for each type of server. You configure a server JVM by editing the jvm.options file.
The following table lists the options which can be modified to suit your environment, but the default value is sufficient for many situations.
| Option | Description | cisDev | cisCatalog | cisContainer | cisInbound or cisOutbound |
|---|---|---|---|---|---|
| -Xmx | The size can be specified in megabytes (m) or gigabytes (g). For example: -Xmx28g sets a maximum heap size of 28 GB. If the heap size exceeds the limit set by the -Xmx option, the JVM generates an out of memory error. | 2g | 1g | 28g | 4g |
| -XX:MaxDirectMemorySize | This option sets a limit on the amount of memory
that can be reserved for all direct byte buffers. The size is the
limit on memory that can be reserved for all direct byte buffers.
The size can be specified in megabytes (m) or gigabytes (g). This
option only applies to runtime servers. For more information, see -XX:MaxDirectMemorySize |
1024m |