Javascript Editor Very Slow [message #493536] |
Mon, 26 October 2009 17:01 |
No real name Messages: 1 Registered: October 2009 |
Junior Member |
|
|
When using the Javascript editor, it often hangs for as much as 30 seconds. This most often occurs when selecting classes/methods/function using the Outline view. The interesting thing is that the line numbers in the editor update to the correct spot in the file, but, the source contents don't update for as much as 30 seconds later.
It also occurs occasionally when Copy/Pasting text.
My disk light on the computer is on almost solid when this happens making me thing there is some very large scale memory usage happening that is causing it to swap.
The problem is intermittent. It will work fine one out of every 3-4 times.
Latest updates applied.
[Updated on: Mon, 26 October 2009 17:02] Report message to a moderator
|
|
|
|
Re: Javascript Editor Very Slow [message #556708 is a reply to message #556691] |
Thu, 02 September 2010 12:14 |
|
Marc,
Would you be able to open a bug with more details and possibly attaching a sample JS page that you can reproduce your issue with? Seeing it ourselves is always the best tool we have for fixing any potential issues. We have not personally seen this poor performance you mention, not to say it does not exist, we have just not seen it. So some explicit instructions and sample files would go a long way for some work on improvements.
You can open a detailed bug report here.
Thank You and Blue Skies,
~Ian
Ian Tewksbury
WTP JavaScript Tools
IBM Rational
-----
“When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return.” ~Leonardo da Vinci
|
|
|
|
|
|
|
|
|
|
Re: Javascript Editor Very Slow [message #649296 is a reply to message #493536] |
Tue, 18 January 2011 16:16 |
|
I'm using SpringSource on Helios. I'm using Javascript editor and the same is happening as described above.
I started to use text editor for our development as this is taking too much time. I have 4 core computer and I have to wait the cursor to move.
I'm developing in ExtJS if it helps.
[Updated on: Tue, 18 January 2011 16:17] Report message to a moderator
|
|
|
|
|
Re: Javascript Editor Very Slow [message #655726 is a reply to message #655623] |
Tue, 22 February 2011 13:28 |
|
John wrote on Mon, 21 February 2011 20:33 | I think I've figured out the cause (and a work-around) for this.
I noticed early on that it happened when I was copy and pasting almost exclusively. Then I happened to notice that all I had to do was hit CTRL to make it happen. Then I thought about what CTRL does and realized it activates hyperlinking so you can click method references and jump to the declaration.
Disable hyperlinking and this issue goes away, or at least it did for me:
Window > Preferences > General > Editors > Text Editors > Hyperlinking > Enable on demand hyperlink style navigation (Turn Off)
|
The issue you describe here was fixed in WTP 3.2.3.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=328966
Ian Tewksbury
WTP JavaScript Tools
IBM Rational
-----
“When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return.” ~Leonardo da Vinci
|
|
|
|
|
|
|
Re: Javascript Editor Very Slow [message #1707497 is a reply to message #493536] |
Sat, 05 September 2015 21:37 |
Toby Thain Messages: 7 Registered: July 2009 |
Junior Member |
|
|
This problem has dogged my Eclipse usage constantly for years, over several releases (including Kepler, Luna, etc).
It mainly afflicts the JavaScript and HTML editors. Pauses of many seconds, not just on copy and paste (though invariably on copy), but also on just clicking and in the file.
It makes Eclipse almost unusable. This even happens on small files (< 50 lines). OS X 10.9, 8GB machine, 8 core, 3GHz Xeon, max heap 2.5GB:
-XX:MaxPermSize=256m
-Xms256m
-Xmx2536m
I can provide a jvisualvm memory graph if it helps.
|
|
|
Powered by
FUDForum. Page generated in 0.04771 seconds