Eclipse的ADT插件 - 图形化布局工具落后和吃内存图形化、布局、插件、落后

2023-09-06 02:52:25 作者:谁人懂

Win7的64,12GB的RAM,i7处理器 ADT v.16.01

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

我的图形布局工具,形迹十分奇怪。每次我做一个改变,布局屏幕闪烁上面的工具按钮和它作品约10秒钟,直到它最终完成的变化。在这个过程中,javaw.exe的消耗大约800MB的RAM的每一个动作我承担该工具。我已经得到了最多的RAM 8GB在一个点上正在使用的javaw进程。

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

我已经试过了Eclipse和Java JRE的这么多的组合。我试过JRE 6u21,6u30,7U2,尽在32/64位版本。甚至试图在32位/ 64位版本的Juno日食靛蓝和开发者版本..都做同样的事情。

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.

任何人都遇到过这个?

与它打的多,一旦得到了一个错误: programmer.xml:GC开销超过限制

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

推荐答案

尝试分配更多的内存到Eclipse,如果您还没有这样做的话。在你的eclipse文件夹中,编辑的的eclipse.ini 的和凹凸应用在XMS和XMX值。我使用的:

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