- "supporting setting JVM options via the
jvm.options
file or the environment variableES_JAVA_OPTS
"
- Does elasticsearch merge settings from both sources?
-
We set java options in jvm.options and JAVA_OPTS. When I run jinfo -flgas and jconsole, only the settings set in JAVA_OPTS are displayed as VM parameter. Elasticsearch runs in Windows server.
Do I have to choose one of them? -
Are all the settings in JAVA_OPTS ignored unless they are set in ES_JAVA_OPTS even if I start Elasticsearch by running a new process of "java_home/bin/java JAVA_OPS ES_PARAMS org.elasticsearch.bootstrap.Elasticsearch -cp ES_CLASS_PATH" ?