Eclipse ADT Plugin - Graphical Layout tool lagging and eating memory

别说谁变了你拦得住时间么 提交于 2019-12-01 02:54:10

问题


Win7 64, 12GB RAM, i7 ADT v.16.01

My graphical layout tool acting very strange. Everytime I make a single change, the tool buttons above the layout display flicker and it 'works' for about 10 seconds until it finally completes the change.. in this process, javaw.exe consumes about 800mb of RAM for every action I take on the tool.. I've gotten up to 8GB of ram being used by javaw at one point..

I've tried so many combinations of eclipse and java jre's. I've tried jre 6u21, 6u30, 7u2, all in 32/64 bit versions. Even tried eclipse indigo and developer version of Juno in both 32/64bit versions.. all do the same thing..

I had this happen before and after a new install it went away. All the sudden it started doing it again today and I have no idea why.

Anyone else come across this?

Was playing with it more and once got an error: 'programmer.xml: GC overhead limit exceeded'


回答1:


Try allocating more memory to Eclipse, if you haven't done so already. In your eclipse folder, edit eclipse.ini and bump the values for Xms and Xmx. I'm using:

-Xms1024m
-Xmx2048m


来源:https://stackoverflow.com/questions/9223433/eclipse-adt-plugin-graphical-layout-tool-lagging-and-eating-memory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!