Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

android - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...