Eclipse定期关闭 [英] Eclipse getting closed regularly

查看:125
本文介绍了Eclipse定期关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台带有2GB内存的机器。
目前,我的Eclipse在投掷之后定期关闭:

 未处理的事件循环异常
PermGen空间

有些时候它会关闭而不显示任何错误或其他错误。



这是我在 eclipse.ini 中的设置:

   -  launcher.XXMaxPermSize 
256m
--launcher.defaultAction
openFile
-vmargs
-Xms256m
-Xmx384m

需要做哪些更改才能解决这个问题?

解决方案

在eclipse.ini文件的末尾添加以下行:

  -XX:MaxPermSize = 256m 


I have a machine with 2GB of RAM. Currently, my Eclipse is getting closed regularly after throwing:

Unhandled event loop exception
PermGen space

Some times it gets closed without showing any error, or some other errors.

Here is the setting that I have in eclipse.ini:

--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms256m
-Xmx384m

What changes do I need to make to fix this?

解决方案

Add at the end of your eclipse.ini file this line:

 -XX:MaxPermSize=256m

这篇关于Eclipse定期关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆