window端设置elasticsearch的堆内存大小
在config/jvm.options.d/新建一个以.options结尾的文件,
-Xms156m
-Xmx156m
这两个数值必须相同。
bin目录下命令行窗口 elasticsearch启动即可.
详见总设置:https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#heap-size-settings
以及堆内存设置:https://www.elastic.co/guide/en/elasticsearch/reference/current/advanced-configuration.html#set-jvm-heap-size
在window的jvm.options的34行:
See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html
从这里找到的、但是修改这个文件的XmsXmx没啥用。