Skip to content

JVM options

JVM options can be specified by passing them as environment variables.

Note

The max size must be calculated based on the amount needed to support the peak transactional volume. This value may need to be adjusted if the peak load on the server increases. The minimum recommended value is 2GB.

The snippet below sets the maximum jvm memory usage to 2GB.

environment:
   pod:
     leap:
       name:  JVM_ARGS
       value: "-Xmx2048m"

Parent topic: Prepare a custom configuration file