Eclipse getting closed regularly

2019-07-21 05:49发布

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?

2条回答
兄弟一词,经得起流年.
2楼-- · 2019-07-21 06:10

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

 -XX:MaxPermSize=256m
查看更多
Deceive 欺骗
3楼-- · 2019-07-21 06:19

Thanks a lot.I made it 512 and got it worked.

查看更多
登录 后发表回答