Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348094

Summary: [editor][FF4] Long editor pauses
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, elliott.ch, Silenio_Quarti, simon_kaegi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-06-02 11:59:20 EDT
I20110602 FireFox 4.0.1

Using the editor today on a file of roughly 800 lines. I am finding that once in awhile while editing or moving the cursor with the keyboard, I get very long pauses where nothing happens. For example if I hold down arrow, about every 100 lines I get a 2-3 second pause. This quickly gets quite annoying while editing because it fails to keep up with your typing or navigation.
Comment 1 John Arthorne CLA 2011-06-02 12:00:33 EDT
Editing the same file is smooth as silk on Chrome 11...
Comment 2 Felipe Heidrich CLA 2011-06-10 11:59:01 EDT
John, can you please try something for me out of curiosity.
Close firefox (all the firefox processes)
Start a fresh firefox, navigate directly to the editor page and try reproducing this problem again.

On my machine I saw this problem on firefox for a bit (I saw a pause every ~200 lines holding arrow up down), but after I restarted firefox the problem stopped.
Comment 3 John Arthorne CLA 2011-06-10 13:23:42 EDT
Yes it is much better after a restart. Only very tiny pauses when scrolling through a file like the text view. I guess these are probably GC pauses.
Comment 4 Susan McCourt CLA 2011-06-10 17:45:34 EDT
I find in general that I have to kill Firefox at least once in the day to restore snappiness.  I've always assumed it's a GC thing but wonder if we are leaking something.
Comment 5 Charles Elliott CLA 2012-01-09 14:44:37 EST
I also experience long pauses (60-90 seconds) when adding or deleting text to an existing line.  Also, editor no longer prompts with member variable or function names when a period is typed after a class variable.  The pauses make Eclipse barely usable for Java projects, and the prompts are sorely missed.  This cannot be a Windows 7 problem as Netbeans does not pause when editing text, and it still prompts when a period is typed, albeit with a slight (a few milliseconds) pause.
Comment 6 Simon Kaegi CLA 2012-01-09 15:31:17 EST
(In reply to comment #5)
> I also experience long pauses (60-90 seconds) when adding or deleting text to
> an existing line.  Also, editor no longer prompts with member variable or
> function names when a period is typed after a class variable.  The pauses make
> Eclipse barely usable for Java projects, and the prompts are sorely missed. 
> This cannot be a Windows 7 problem as Netbeans does not pause when editing
> text, and it still prompts when a period is typed, albeit with a slight (a few
> milliseconds) pause.

Hi Charles,
I think you have the wrong eclipse project here. Orion is a browser-based set of tools and not associated with Eclipse IDE code-base. Your comments sound like Eclipse Desktop problems -- e.g. Product=JDT.
Comment 7 John Arthorne CLA 2012-04-20 16:41:19 EDT
I was trying this today in an editor with 6000 lines, in a Firefox 11 session that I had been running all day. I didn't notice the pauses any more so I'm going to close this.