:::note
This setting only applies to process runtime and Kubernetes runtime.
:::
To pass additional arguments to the JVM command line for every process started by a function worker, you can configure the additionalJavaRuntimeArguments
in the conf/functions_worker.yml
file as follows.
-XX:+ExitOnOutOfMemoryError
-Dlog4j2.formatMsgNoLookups
additionalJavaRuntimeArguments: ['-XX:+ExitOnOutOfMemoryError','-Dfoo=bar']