问题3-Error occurred during initialization of VM Could not reserve enough space for object heap

初步断定是内存方面的问题

于是决定修改配置文件

D:studyeclipseeclipseeclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

将最后一行改为 -Xmx256m

保存后再次启动eclipse,就正常了。

原文地址:https://www.cnblogs.com/dieyaxianju/p/5012826.html