这几天,我的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了。
本文详细介绍了MyEclipse启动缓慢及在打开文件或查找类文件时出现卡顿并自动非正常关闭的问题,并提供了有效的解决方案。通过调整eclipse.ini文件中的-Xmx参数,将内存设置从512m减小到256m,成功解决了该问题。
2550

被折叠的 条评论
为什么被折叠?



