开发者

How to avoid Eclipse leaks on XServer when editing Android XML files?

When I'm editing XML files in Eclipse (mainly, Android layouts and so), it causes leaks on XServer and it ends eating all my RAM (4GB), so I have to Ctrl+Alt+Backspace to continue.

Do you开发者_如何学C know any remedy for that?


Eclipse Juno and ADT v20 seem to be working well.


It might help if you start eclipse off your java interpreter with a garbage collector enabled via the command line. Something like this could work:

java /path/to/eclipse -XX:+UseParallelGC

You could also add some swap space to your computer as a final option, but of course that's one step above asking you to go out and buy more ram.

For more information on garbage collection in java, look here


I've seen this issue using eclipse in Linux and Windows, and it sucks!

Try reverting your ADT installation to a previous version.

go to: help --> install new software at the lower right-hand corner click what is "ALREADY INSTALLED"?

click the Installation History tab

you'll see a list of time stamps and hopefully you'll have a older version of ADT to revert to

Hopefully that fixes all of "our" problems until a update is released!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜