Priority
Normal
Type
Performance Problem 
State
Fixed 
Assignee
Maxim Mossienko 
Subsystem
J2EE.JSP 
Affected versions
Fixed in
Fixed in build
Next build 
Build
5181
Fixed in build
4169
Severity
0
  • Submitted by   Ariel Garza
    3 years ago (16 Mar 2006 04:48)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:27)
  • Jira: IDEA-31731
    (history, comments)

IDEA-31731

cpu pegged for 30 seconds for jsp editing

As soon as a tab becomes active with a JSP, my CPU pegs and idea just sits for like 30 seconds. If I switch to a different tab and back it's okay but the initial hit is huge. If I close the tab and re-open it the cpu thrashing starts all over.

Environment: Ubuntu Breezy, JDK 1.5.0_03, -Xmx292m, Pentium M 2.1GHz, 2GB ram

Issue was resolved
Comments (6)
 
History (1)
 
Links
 
Maxim Mossienko
  Maxim Mossienko
16 Mar 2006 18:25
(3 years ago)
#permalink
Please, attach cpu dump.
Maxim Shafirov
  Maxim Shafirov
16 Mar 2006 19:13
(3 years ago)
#permalink
From what I read in description this is normal. Upon opening any file (JSP included) background processing is started, which of course is CPU intensive. It shall be terminated on any user activity though.
On the other hand if you feel certain operation or analysis takes too much time please take a CPU snapshot and attach to the issue or upload to ftp://ftp.intellij.net/.uploads if too big for attachement.
Ariel Garza
  Ariel Garza
16 Mar 2006 21:47
(3 years ago)
#permalink
Here is a cpu snapshot from me switching between two jsp windows (back and forth a couple of times). It seems faster than yesterday (I just started the project, and I only have one project open now) but the slow downs randomly crop up sometimes when I switch from tab to tab, open a new jsp or even just return to give the Idea window focus.
Maxim Mossienko
  Maxim Mossienko
16 Mar 2006 22:11
(3 years ago)
#permalink
How many css files are in the project?
Maxim Mossienko
  Maxim Mossienko
16 Mar 2006 23:24
(3 years ago)
#permalink
Try switch off 'illegal dependency' inspection
Ariel Garza
  Ariel Garza
17 Mar 2006 00:40
(3 years ago)
#permalink
We have some sort of html help library that adds a ton of css files. The project has a total of 955 (basically one per help topic) css files. Turning off the 'illegal dependency' inspection seems to have gotten rid of the problem. I opened up jsps that had been problematic and they just open immediately, no lag and no cpu spiking. Thanks a lot for the help.