Could not reserve enough space for object heap
来源:互联网 发布:云豹app直播系统源码 编辑:程序博客网 时间:2024/05/07 07:01
最近需要使用elasticsearch,想在linux虚拟机上装一下试试,虚拟机总是联网出问题,于是在windows下装了一下。
按照网上给的方法以及错误的解决方法(参考http://blog.csdn.net/leo063/article/details/52994786),完成了大部分操作。
但是在命令行执行elasticsearch-service.bat start的时候仍然出现错误提示:Could not reserve enough space for object heap,网上查了一下,是因为Java虚拟机(JVM)分配的内存大于系统可用内存数,所以没有足够的空间分配给JVM来创建Object。
解决方法:
打开elasticsearch-5.0.0目录下面的config\jvm.options文件,将-Xms 和-Xmx 后面的值改小一点,就可以了。修改完之后运行elasticsearch-service.bat start仍然会有错误提示:positional arguments not allowed, found[start],所以我直接运行elasticsearch-service.bat,之后就可以打开http://localhost:9200/看到json文件了
0 0
- “Could not reserve enough space for object heap“
- 解决"Could not reserve enough space for object heap"
- Loadrunner=Could not reserve enough space for object heap
- Could not reserve enough space for object heap
- Could not reserve enough space for object heap 问题解决
- 解决Tomcat Could not reserve enough space for object heap
- could not reserve enough space for object heap
- hadoop提示Could not reserve enough space for object heap
- Could not reserve enough space for object heap
- Could not reserve enough space for object heap
- Could not reserve enough space for object heap
- Could not reserve enough space for 1572864KB object heap
- could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap Could not
- elasticsearch could reserve enough space for object heap
- eclipse直接启动的时候提示错误:Could not reserve enough space for object heap
- Eclipse报错(”Could not reserve enough space for object heap”)
- 加大resin内存报错Could not reserve enough space for object heap解决总结
- java程序中数据存储与示例详解
- linux top命令参数详细介绍
- js特殊符号处理
- Java怎么获得以当前时间为种子的随机数?
- SpringMVC上传文件三种方式对比
- Could not reserve enough space for object heap
- maven国内镜像
- Android实现炫酷SVG动画效果
- 》》》感发:开始写博文
- window.name 跨域实现原理及实例
- 回调函数
- 背景设置
- 实时日志流系统(kafka-flume-hdfs)
- solr查询空值、null、不存在的字段的方法