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

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

于是决定修改配置文件

D:\study\eclipse\eclipse\eclipse.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,就正常了。

相关文章:

  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
  • 2021-11-25
猜你喜欢
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
相关资源
相似解决方案