eclipse内存溢出错误:
An out of memory error has occurred.Consult the "Running Eclipse" section of read me file
for information on preventing this kind of error in the future.
解决方法:
调一下内存,myeclipse.ini里面把-Xmx -XX:PermSize -XX:MaxPermSize 适当调大些。
如果是eclipse工具,则是在eclipse.ini中改。
-showsplash org.eclipse.platform
--launcher.XXMaxPermSize 256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx512m
今天让Eclipse升级以后,运行项目的时候提示出问题了,不能运行下去。错误如下
an out of memory error has occurred.Consult the "Running Eclipse" section of the read me file for information on preventing this kind of error in the future.
you are recommended to exit the workbench.
subsequent errors may happen and may terminate the workbench without warning.
see the .log file fro more details.
Periodic workspace save. has encountered a problem.
an internal error occurred during: "periodic workspace save".
解决办法,把Eclipse删掉(这个不重要,不删掉也可以),重新解压出来。
关键是把 原来项目文件夹里的 .metadata 这个文件夹删除掉,然后再启动Eclipse的时候选择这个文件夹,然后再把原来的项目导进去就可以了。