进入elasticsearch/config目录下cd /usr/local/elasticsearch/config找到jvm.options文件,进行编辑vi jvm.options默认是-Xms1g -Xmx1g改为-Xms256m -Xmx256m启动elasticsearch./elasticsearch -d Last modification:December 2, 2020 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 如果觉得这篇技术文章对你有用,请随意赞赏