elasticsearch 啓動報錯

elasticsearch>bin>elasticsearch.bat  error:

Error occurred during initialization of VM

Could not reserve enough space for 2097152KB object heap

解決方案:打開elasticsearch 下config 文件夾 打開jvm.options 文件





把:-Xms2g
-Xmx2g

改爲:

-Xms256m
-Xmx256m

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章