I have to deal with many XML's on a daily basis. This is interrupting my work flow greatly; I've tried downgrading to Indigo but all my add-ons get removed.
The problem occurs when opening an xml; switching to an xml; switching out of an xml (even to another xml). What is happening that makes XML's so annoying? What can I disable, or change, to get better performance?
Restarting eclipse tends to help a bit, but not for long (an hour or so).
During these times my CPU spikes from a few % to 70-80% so whatever it is doing is very resource intensive.
I believe that there is correlation between these times and disk usage as well.
edit: To clarify, it's not just when switching from an xml to another xml, it's also when I change focus from the main xml to another frame, i.e. project explorer, problems, console.
I solved it!!! (I've Eclipse Indigo)
Sounds like you are hitting a known performance issue with Juno and Juno SR1. The platform team is currently working on a number of performance bugs for SR2, some have already been fixed. I think downgrading to Indigo or Eclipse 3.8 are your only options. Some of the specific bugs related to XML editors:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391127
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391868
I found a way around it. Took out the xml editor, replaced it with Rinzo XML (but I'm sure any other one would work, that was the first free one I saw), and everything is almost as fast as normal.
Did you try disabling all XML validations ?
Windows -> Preferences
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With