History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-5053
Type: Performance Problem Performance Problem
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Ariel Garza
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

cpu pegged for 30 seconds for jsp editing

Created: 16 Mar 06 04:48   Updated: 17 Mar 06 22:48
Component/s: J2EE.JSP
Fix Version/s: 5.1.1, Demetra 5201

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive 5181_agarza_16.03.2006_10.40.06.zip (2.68 Mb)

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

Build: 5,181
Fixed in build: 4,169
Severity: High


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
Maxim Mossienko - 16 Mar 06 18:25
Please, attach cpu dump.

Maxim Shafirov - 16 Mar 06 19:13
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 - 16 Mar 06 21:47
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 - 16 Mar 06 22:11
How many css files are in the project?

Maxim Mossienko - 16 Mar 06 23:24
Try switch off 'illegal dependency' inspection

Ariel Garza - 17 Mar 06 00:40
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.