question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Eclipse XML Editor Running Too Wild

See original GitHub issue

I installed Eclipse 2020-06 package for Java developers and added the Web Developer tools for better XML editing support. After a couple of minutes, XMLServerLauncher processes will start eating up my CPU cycles, even though I am not doing any heavy editing. After a while, Eclipse becomes unusable. I created a new workspace without copying any settings to make sure the issue was not caused by some legacy stuff in my projects or configuration.

Here you can see htop without any XML editing taking place (relevant processes shown):

lemminx_htop_animated

I captured some memory and performance snapshots using yourkit, but I am not fit enough to identify the culprit in them quickly. I could upload them somewhere, if you think they would be useful in analyzing the problem.

Installation details attached (web developer plug-in version is 0.10.0.202006021616): eclipse_configuration.txt

Sorry, if this is the wrong place to report the bug, but a friendly person at @EclipseJavaIDE pointed me in this direction

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mickaelistriacommented, Sep 3, 2020

I don’t think there is anything Wild Web Developer can fix. The issue comes from m2e which embeds LemMinX-Maven. So I’ll close this issue.

eclipse/lemminx-maven#133 was fixed and lemminx-maven won’t spend CPU and network downloading index until a pom.xml file is open. However, it won’t reach m2e soon, you’ll probably have to wait about a month before we propagate this change available in m2e and Eclipse IDE.

We are limited to 8 GB networked home directories so a 2.5 GB index is a significant chunk of this.

I guess this case is not about Wild Web Developer, is it?

1reaction
joeshannoncommented, Sep 2, 2020

We have just been starting to experience what I believe to be the same issue after switching to 2020-06 (specifically Eclipse for RCP and RAP developers).

I haven’t fully investigated the triggers for this but as mentioned elsewhere it appears to happen possibly whenever an xml file is edited - the Eclipse projects themselves are not Maven projects (they are mostly Eclipse plugin projects).

The bigger problem for us is the amount of space that ~/.lemminx uses. We are limited to 8 GB networked home directories so a 2.5 GB index is a significant chunk of this.

I was just wondering if there are any known solutions/workarounds to this so far, for example disabling the index download or possibly changing its location?

Otherwise the only option I can see at the moment is symlinking that directory to somewhere e.g. under /tmp.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Newcomers » Editing XML and Python in Eclipse (neon) C/C++
Open your Eclipse, select Help -> Install New Software. Select the repository of your Eclipse, maybe the line starting with 'Neon - '...
Read more >
Eclipse Wild Web Developer Generic Editor: How to share the ...
I am now learning that the Wild Web Developer project provides an alternative editor for XML files, called "Generic Editor". It can be...
Read more >
Oxygen XML Editor Eclipse Plugin 16.1
You must obtain and register a license key to run Oxygen XML Editor plugin. You can choose from two kinds of license: •...
Read more >
Oxygen XML Editor Eclipse Plugin 18.1 - Titania Delivery
7.7.4.3.19.1.1: Customize Oxygen XML Editor plugin to Render CGM Images ... and Running Automated Tests; 16.16.1.7: Debugging a Plugin Using the Eclipse ......
Read more >
How to Install XML Editor Eclipse IDE | Class 02 - YouTube
How to Install XML Editor Eclipse IDE | Class 02 | XML Training Videos in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found