其他分享
首页 > 其他分享> > Error occurred during initialization of VM Could not reserve enough space fo

Error occurred during initialization of VM Could not reserve enough space fo

作者:互联网

通过es的elasticsearch.bat 启动、
发现错误:Error occurred during initialization of VM Could not reserve enough space fo
说的是es的java jvm大小不对
找到config的jvm.options
看到
-Xms2g
-Xmx2g

改成
-Xms1g
-Xmx1g
启动成功,浏览器输入http://localhost:9200/
能看到数据

标签:space,Could,VM,enough,jvm,initialization,es
来源: https://www.cnblogs.com/q1359720840/p/14720586.html