It would be useful if the environment variable $JAVA_OPTS could override Xmx by providing a duplicate JVM flag with a different value (-Xmx16g). It is weird to have duplicate values for a given JVM flag, and resulting behavior surely varies across JVMs, but nonetheless, this would be useful as an option to customize a deployment for a server using only environment variables.
With this new flag (javaOptsAfterJvmSettings?), the generated script would include
Currently
generates scripts including
It would be useful if the environment variable
$JAVA_OPTS
could overrideXmx
by providing a duplicate JVM flag with a different value (-Xmx16g
). It is weird to have duplicate values for a given JVM flag, and resulting behavior surely varies across JVMs, but nonetheless, this would be useful as an option to customize a deployment for a server using only environment variables.With this new flag (
javaOptsAfterJvmSettings
?), the generated script would include