Closed bmario closed 3 years ago
Thanks for reporting this, I think I’m going to go with the ES_JAVA_OPTS
option as the script already supports this env var.
Will look into this in a couple of days.
Ended up going the jvm.options.d/*.options
way for ES_JAVA_OPTS
, and also applied the same technique to ES_HEAP_DISABLE
.
Updated in the 7.15.2
-tagged image.
Thanks again for raising this issue.
It seems, the
Xms
andXmx
options were removed upstream from thejvm.options
file for elasticsearch. The script should create a file with them under/opt/elasticsearch/config/jvm.options.d/*.options
or useES_JAVA_OPTS
instead, apparently.https://www.elastic.co/guide/en/elasticsearch/reference/7.15/advanced-configuration.html#set-jvm-heap-size