在Eclipse一直很正常使用的情况下,关掉Eclipse之后再启动Eclipse就无法启动JVM了,情况如下图:
[img]http://dl2.iteye.com/upload/attachment/0090/9374/d2be53e0-f02a-3b47-aeaf-1efdc10e0820.jpg[/img]
修改eclipse.ini配置文件,-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
将配置文件中的--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m,256M改为128M即可。
[img]http://dl2.iteye.com/upload/attachment/0090/9374/d2be53e0-f02a-3b47-aeaf-1efdc10e0820.jpg[/img]
修改eclipse.ini配置文件,-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
将配置文件中的--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m,256M改为128M即可。