笔记

1、要固定Elasticsearch服务器的的内存使用量,我们需要在$ES_HOME/config/jvm.options中为Xms和Xmx设置相同的值(设置为1GB内存),示例如下:vi /usr/share/elasticsearch/config/jvm.options

-Xms1g
-Xmx1g