Monday, January 28, 2013

[android-developers] Eclipse XML editor slow when ADT installed

Hi! I've been trying to get info on this for some time now and decided to finally ask here:

Me and my colleagues have been experiencing (sometimes very extreme) slowdowns in Eclipse tab switching/opening documents when having the ADT plugin installed and opening a couple of xml layout files and xml files in general. This happens on the latest release of Juno with the latest release of the ADT plugin. I've personally experienced it on two Windows 7 PC-s (one x64 with x64 compliled Eclipse, one x86), my x64 Macbook with x86 Eclipse and on my Debian x86 laptop. One desktop and the macbook have 8gb of ram, the other desktop has 4gb and the linux laptop 2gb. All eclipses have java runtime set to 1.6 or 1.7, all have increased heap size to 1 or 2gb and increased permgen size. Some have parallelgc enabled.

As you can see, since the problem occurs on all of these setups, this eclipse "tweaks" have no effect on this problem (or very mild effect) which causes me to believe that it most probably has to do with extensions relating to xml editing that ADT brings with itself.

If any help: I can see that when switching between two xml layout files toolbar buttons "Reload Dependencies"/"Turn Grammar Constraints Off" and "Drop To Frame" flicker in the 2 second pause between switches (this pause is much longer if there are more than two tabs open). Seems like some state-checks are done many times over and over in a loop and cause these buttons to switch between states. This is also obviously putting a lot of stress on the gc structures and sometimes the only solution is to restart eclipse completely to let it all clear out. Extreemly annoying as you can imagine.

Anyone here with similar experiences or any remedies? Thanks

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment