Bug 161272

Summary: JSP editor is extremely slow to initialize on Linux
Product: [WebTools] WTP Source Editing Reporter: Miroslav Halas <eclipse>
Component: jst.jspAssignee: David Williams <david_williams>
Status: RESOLVED WORKSFORME QA Contact: David Williams <david_williams>
Severity: normal    
Priority: P3 CC: itewksbu, nsand.dev, thatnitind
Version: 1.5Keywords: performance
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Example JSP file causing slowness none

Description Miroslav Halas CLA 2006-10-17 11:49:47 EDT
I am running on Fedora Core 5, Eclipse 3.2 with the latest update. When Eclipse starts, I have opened several JSP and JS files. If the JS file is the one with focus and I click over to JSP file, Eclipse freezes and it takes often several minutes until it unfreezes and the JSP file gets focus. This is happening on dual processor P4 with 1GB of memory. The rest of the system is responsive during that time.
Comment 1 Nitin Dahyabhai CLA 2006-10-17 13:14:49 EDT
Which JRE are you using and how much memory are you allocating to it?  With this exact environment and a slower system, I haven't seen this level of sluggishness.
Comment 2 David Williams CLA 2006-10-18 00:46:34 EDT
Please attach some sample files that demonstate the problem. 
Comment 3 Miroslav Halas CLA 2006-10-20 10:34:40 EDT
Eclipse 3.2.1.

java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)

/opt/eclipse/eclipse -vmargs -Xms256m -Xmx256m

There is no difference in speed if I try to increate the size.

I am attaching example file. The sceanrio is that my workspace has opened several jsp files and some js and css file. When I start eclipse the js or css file is active. When I try to switch to jsp file, it takes quite a while.

I am attaching example file.
Comment 4 Miroslav Halas CLA 2006-10-20 10:36:49 EDT
Created attachment 52395 [details]
Example JSP file causing slowness
Comment 5 Ian Tewksbury CLA 2010-01-21 16:53:30 EST
This file opens fine on my windows box and I would say it would be worth testing on a linux box except for with the age of this bug my intuition is telling me that if there was such a horrible performance problem on the JSP editor in Linux then it would have been addressed by now or have higher standing.  So my vote is for close.
Comment 6 Nick Sandonato CLA 2010-04-27 15:50:00 EDT
I have been unable to reproduce on RHEL. If you're still seeing the issue, please reopen the bug and let us know.