Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse "Java heap space" error, Eclipse not responding

If i try to edit one of my layout.xml, Eclipse is getting slower and slower, and after about 1 minute it blows me 5-6 lines of "Java heap space" error message, nothing more just this:

Error1

After this, Eclipse is not responding, i force quit from it and i got this second error:

Error2

It is happens, everytime i want to edit that particular layout.

Can somebody tell me any advice what should i do about this? I cant continue my work, it is really annoying, its just blocks me and i cannot do anything, i got this error about 10 times.

E D I T:

A lot of people said to increase heap size, configure Eclipse to your computer in .ini file etc, etc.. Just in case now i highlight the problem: this is not a configuration error, this is clearly an Eclipse bug, that is consumes all the memory you have in like minutes, no matter how much you have. Configuring the .ini file wont solve THIS issue.

Try to turn off Lint instead.

like image 801
Adam Varhegyi Avatar asked Feb 06 '13 14:02

Adam Varhegyi


1 Answers

I turned off Lint and problem solved. If you have this kind of problem always turn off Lint.

like image 121
Adam Varhegyi Avatar answered Sep 21 '22 16:09

Adam Varhegyi