Elasticsearch reports default heap memory size after setting environment variable

前端 未结 4 1615
太阳男子
太阳男子 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:37

    To avoid service re-install you can directly change values in registry. They are a bit tricky to find:

    Of course, you have to restart the service after changing these settings.

提交回复
热议问题