Freezing Eclipse Android XML Files

I have a big problem with Eclipse. Well, I have 100 problems with Eclipse (because it's an IDE junk environment), but let me just clarify this. I am developing Android. Each time I open, close, or save an XML file, Eclipse freezes for 5 minutes (and gives out most of my CPU). This happens for every XML file in my Android project. And it happens all day. Needless to say, I have lost countless hours of development because the Eclipse Foundation cannot create a robust IDE. In fact, I think Google should dump the Eclipse Foundation in the trash and create its own dedicated IDE for Android ..... but I'm distracted.

I have already disabled indexing for my workspace directories in Windows. And I read countless posts on StackOverflow on how to optimize the Eclipse.ini file. I have tried all this. I reinstalled Eclipse several times. I have a 64-bit Win 7 machine running on an i7 processor with 8 GB of RAM! I donโ€™t know what else to do, besides switching to a Linux-based distribution or buying a new laptop. Can someone give me professional advice?

Thanks Igor

UPDATE My wishes came true in Android Studio, and now I use this as the only IDE.

+6
source share
1 answer

This is apparently the same problem as # 385272 reported by Bugtracker Eclipse, where many people reported performance issues in Eclipse Juno when switching between editors, most people pointing to the XML editor as the worst offender, and some specifically mention Android. In this thread, one user suggested a workaround :

Switching to the window-> preferences for the "Classic theme" and "Disable animation" will bring almost acceptable speed - I can work now.

In addition, it seems that some fixes for this problem and others are available as a patch, tracked as issue # 394588 . Apparently, when installing the hotfix, the problem of at least one user is fixed:

Since I installed Eclipse UI Juno SR1 Optimizations ( comment # 212 ), switching between tabs is much better. Thanks.

You can follow the installation instructions in comment # 8 in the patch stream and see if it helps you with this.

Update (12-13-12):

The above fixes are now available for installation through the Eclipse Update Manager. They can be found on the Eclipse 4.2 update site ( http://download.eclipse.org/eclipse/updates/4.2 ) in the Juno SR1 Patches category. More information can be found on the wiki here .

+9
source

All Articles