Step 7
I set the ES_JAVA_OPTS
environment variable to -Xms1g -Xmx1g
to limit memory usage to 1Gb
.
elastic.co/guide/en/elasticsearch/reference/8.8/advanced-configuration.html#set-jvm-heap-size
Setting it via config\jvm.options.d\jvm.options
does not work for me for an unknown reason.