由于项目工程比较大,最近使用eclipse常常出现内存溢出的报错,运行的时候eclipse 就通过不了,报错,好不容易解决了。 eclipse报错如下: 1. Internal Error 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 future. You are recommended to exit the workbench. Subsequent errors may happen and may terminate the workbench without warning. See the .log file for more details. 另外还有一些报错: unable to create new native thread. Unhandled event loop exception. java.lang.OutOfMemoryError. An internal error occurred during: "Searching for markers". Java heap space Internal Error Java heap space An internal error has occurred. java.lang.NullPointerException
方法是:找到安装目录中的eclipse.ini 文件,修改内存设置的部分:
|
|
来自: 520jefferson > 《java/android》