Editing JSP is very slow
Hi,
I am using IntelliJ IDEA 6.0.1. When I was editing JSP files I found it's very slow; whereas editing Java files is normal. Should I change some settings to make editing JSP files faster?
Thanks,
Chris
Please sign in to leave a comment.
Hi Chris. Upgrade to 6.0.2 as it fixed some jsp related performance problems. If you still have issues after upgrading, please say so.
Hi Jon,
Thanks. I did upgrade to 6.0.2. Unfortunately the problem is still there.
When I type some chars it seems to check what I input, such as JSP syntax check. This might cause the slow issue. How can I change some settings?
Chris
You'll want to create an issue and attach the snapshot of your CPU activity during the slowdown. That way, the IDEA developers can try to pinpoint the problem. I've pasted below how to enable CPU snapshoting. You create an issue here:
http://www.jetbrains.net/jira/secure/CreateIssue!default.jspa
Jon
Open IDEA_HOME/bin/idea.vmoptions (idea.exe.vmoptions on Windows), add
the following line at the bottom:
-Xrunyjpagent:port=10100
Then run IDEA and you should notice 2 new buttons in the toolbar, one for taking CPU snapshot, another one for memory snapshot. Press the CPU button and then perform action which takes a lot of CPU resources on your machine.
You'll want to create an issue and attach the snapshot of your CPU activity during the slowdown. That way, the IDEA developers can try to pinpoint the problem. I've pasted below how to enable CPU snapshoting. You create an issue here:
http://www.jetbrains.net/jira/secure/CreateIssue!default.jspa
Jon
Open IDEA_HOME/bin/idea.vmoptions (idea.exe.vmoptions on Windows), add
the following line at the bottom:
-Xrunyjpagent:port=10100
Then run IDEA and you should notice 2 new buttons in the toolbar, one for taking CPU snapshot, another one for memory snapshot. Press the CPU button and then perform action which takes a lot of CPU resources on your machine.