Elasticsearch reports default heap memory size after setting environment variable

前端 未结 4 1607
太阳男子
太阳男子 2020-12-30 12:09

In attempt to increase JVM heap size for Elasticsearch on a Windows box, I defined the following environment variable:

ES_HEAP_SIZE=6g

(The machine has 12G R

4条回答
  •  执念已碎
    2020-12-30 12:48

    After I had uninstalled and reinstalled Elasticsearch Windows service, it correctly increased the JVM heap size. Just restarting it without reinstalling the service didn't work.

提交回复
热议问题