Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Java Editor extremely slow on larger (10000 lines) files
Java Editor extremely slow on larger (10000 lines) files [message #1736188] Mon, 27 June 2016 12:09 Go to next message
Michael Stiefler is currently offline Michael StieflerFriend
Messages: 4
Registered: June 2016
Junior Member
Hi all,

Since updating to Eclipse Neon I'm suddenly facing an issue with the Java Editor Window becoming quite slow and unresponsive on large files (e.g. Java Source Files with >10.000 lines).
The same files can be edited in Mars.2 flawlessly without any performance impact.

What I did so far was to completely reinstall Neon, choose a fresh workspace and disable anything that seems to be related to editor performance, such as code recommenders, displaying errors while typing, word/line wrapping etc.
The issue persists.

It's really like whatever I add to or remove from the java code, it always takes at least 1-2 seconds for the editor to react.
For instance marking a code block "feels" sluggish already, increasing it's indent by hitting the tab key locks up the editor for 5-10 seconds, pressing crtl+z to undo the indent locks it up for another 5.10 seconds again.
None of this happens with Mars.2 on the same file.

Any ideas what might have made Neon that much slower?

Best regards - Mike
Re: Java Editor extremely slow on larger (10000 lines) files [message #1736196 is a reply to message #1736188] Mon, 27 June 2016 12:41 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
If you can reproduce this I'd say it's worthy of a bug report. http://bugs.eclipse.org
Re: Java Editor extremely slow on larger (10000 lines) files [message #1736304 is a reply to message #1736196] Tue, 28 June 2016 10:33 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
To collect more information for a bug report, please have a look at http://wiki.eclipse.org/How_to_report_a_deadlock

I know it's not a deadlock, but the same techniques can be applied for "hangs" of several seconds, as well.
Re: Java Editor extremely slow on larger (10000 lines) files [message #1736314 is a reply to message #1736304] Tue, 28 June 2016 11:38 Go to previous messageGo to next message
Michael Stiefler is currently offline Michael StieflerFriend
Messages: 4
Registered: June 2016
Junior Member
Thanks for the replies, I'll try to get the stack trace and thread dump and check whether it's worth a bug report then.

Best regards - Mike
Re: Java Editor extremely slow on larger (10000 lines) files [message #1736812 is a reply to message #1736188] Sat, 02 July 2016 07:09 Go to previous message
Michael Stiefler is currently offline Michael StieflerFriend
Messages: 4
Registered: June 2016
Junior Member
Finally found the time to create the bug report, thanks for your replies!
https://bugs.eclipse.org/bugs/show_bug.cgi?id=497175

Best regards - Mike
Previous Topic:Trying out External Annotations for null analysis, but Annotate does nothing
Next Topic:How to provide "Open Declaration" inside the Java Editor
Goto Forum:
  


Current Time: Sat Oct 05 09:31:02 GMT 2024

Powered by FUDForum. Page generated in 0.03826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top