Error occurred during initialization of VM Could not reserve enough space for object heap
来源:互联网 发布:mysql数据类型 编辑:程序博客网 时间:2024/06/04 22:04
错误信息:
Error occurred during initialization of VMCould not reserve enough space for object heap
Java虚拟机(JVM)分配的内存大于系统可用内存数,所以没有足够的空间分配给JVM来创建Object
解决方法:可以看看机器的系统内存目前还剩下多少,保证足够启动Java时设定的-Xmx512M -Xms512M -XX:MaxPermSize=256M
如Eclipse:
为JVM设置合适的参数(比目前的要小)
(1)点击“Window->Preferences->Java->Installed JREs”可以看到所有的JRE。
(2)点中当前使用的JRE,再点击右边的“Edit”。
(3)为该JRE的“Default VM Arguments”配置参数值:-Xmx512M -Xms512M -XX:MaxPermSize=256M。
阅读全文
0 0
- Error occurred during initialization of VM Could not reserve enough space for object heap Could not
- ant build Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- 遇上Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM; Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap
- tomcat Error occurred during initialization of VM Could not reserve enough space for ?KB object heap
- tomcat启动报 Error occurred during initialization of VM Could not reserve enough space for object heap
- AndroidStudio启动错误:Error occurred during initialization of VM Could not reserve enough space for ...
- android studio 的 Error occurred during initialization of VM Could not reserve enough space fo 解决办法
- android studio Error occurred during initialization of VM Could not reserve enough space
- cannot connect to vm :could not reserve enough space for object heap
- 深入理解滚动scroll
- java基本加密算法
- nfs服务器和客户端配置
- 三角形判定
- struts2 action从一个命名空间跳到另一个命名空间
- Error occurred during initialization of VM Could not reserve enough space for object heap
- 你想了解的分布式--从ACID到CAP/BASE
- ubuntu linux下echo 打印带颜色文字
- 移动前端开发需要注意的20个要点
- 反卷积
- 第一届嵌入式电子竞赛方案设计——智能门禁系统
- CentOS 7 防止暴力SSH登陆的两个措施
- 并发(三):Lcok与synchronized区别
- 一文读懂 KMP 算法