eclipse 内存不够用报错Internal Error

由于项目工程比较大,最近使用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 文件,修改内存设置的部分:
-Xms40m
-Xmx512m

启动ecplise时,单击ecplise标图 右键-》属性-》快捷方式-》目标 里面加-clean -vmargs -Xms512m -Xmx800m -XX:PermSize=256m
例如F:ecplise-YouYuneclipse3.2eclipse2.0 -clean -vmargs -Xms512m -Xmx800m -XX:PermSize=256m 。启动eclipse就可以了


作者:xgpww
来源:CSDN
原文:https://blog.csdn.net/xgpww/article/details/38492607
版权声明:本文为博主原创文章,转载请附上博文链接!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值