本文共 1479 字,大约阅读时间需要 4 分钟。
Myeclipse 错误:JVM terminated. Exit code=255 这几天,我的myeclipse启动后巨慢,而且经常在打开文件或者是找类文件的时候就会卡死。并自动非正常关闭: --------------------------- Eclipse --------------------------- JVM terminated. Exit code=1 C:\devTools\MyEclipse6.5\jre\bin\javaw.exe -Xms128m -Xmx512m -Duser.language=en -XX:PermSize=128M -XX:MaxPermSize=256M -jar C:\devTools\MyEclipse6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -os win32 -ws win32 -arch x86 -showsplash -launcher C:\devTools\MyEclipse6.5\eclipse\eclipse.exe -name Eclipse --launcher.library C:\devTools\MyEclipse6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll -startup C:\devTools\MyEclipse6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -exitdata 1528_d4 -clean -vm C:\devTools\MyEclipse6.5\jre\bin\javaw.exe -vmargs -Xms128m -Xmx512m -Duser.language=en -XX:PermSize=128M -XX:MaxPermSize=256M -jar C:\devTools\MyEclipse6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar --------------------------- 确定 --------------------------- --------------------------------------------------------------------------------------------------------------------------- 找了些资料,最终解决此问题的方法是: 把myeclipse安装目录下eclipse目录下的eclipse.ini的文件: -clean -showsplash com.genuitec.myeclipse.product.ide --launcher.XXMaxPermSize 256m -vmargs -Xms128m -Xmx512m -Duser.language=en -XX:PermSize=128M -XX:MaxPermSize=256M 把其中的-Xmx512m改为-Xmx256m 原因是设置的内存过大导致的,改小就ok了。转载地址:http://haebb.baihongyu.com/