JSP Editor Performance

With all of the new highlighting/inspection options now available for JSP, HTML and Java, I have noticed a decrease in the responsiveness of the editor when working on "messy" JSP files. Things like typing, moving the caret around are noticeably sluggish at times. Some JSP pages force me to switch Hector off completely. Anyone else seeing this?

My system is a dual Opteron 2.4GHz so I should have plenty of power.

--
Matthew

5 comments
Comment actions Permalink

CPU snapshot is the first step of the shortest way for us to fix that.

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Well here is the problem with that. I am running a 64 bit OS and the profilier does not run fo me it would seem. :(

http://jetbrains.net/jira/browse/IDEA-1195

--
Matthew

0
Comment actions Permalink

Well, I see. Hopefully someone else experiences same problems and will provide
a snapshot.
BTW, 64 bit doesn't come for free with Java. Generally twice as much RAM
required comparing to 32bit version so it might make sense to work on 32bit.
-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Well, I see. Hopefully someone else experiences same
problems and will provide
a snapshot.
BTW, 64 bit doesn't come for free with Java.
Generally twice as much RAM
required comparing to 32bit version so it might make
sense to work on 32bit.
-------------------
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


Though my OS is booted on a 64 bit kernel, I run IDEA in a 32 bit JVM. The JIRA issue I linked to above occurs regardless of that fact. For fun, I just tried starting up IDEA with a 64 bit JVM using the -d64 option. Still get the problem, "Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: yjpagent." From what others posted, this issue sounds related to the kernel and not the JVM. Or are you saying that Java, when running in 32 bit mode on a 64 bit kernel, will still have the "costs" you describe?

Maybe I can talk myself into a reboot and come up on the 32 bit kernel, see if the profilier will work for me then. :)

--
Matthew

0
Comment actions Permalink

Matthew Montgomery wrote:

Though my OS is booted on a 64 bit kernel, I run IDEA in a 32 bit JVM. The JIRA issue I linked to above occurs regardless of that fact. For fun, I just tried starting up IDEA with a 64 bit JVM using the -d64 option. Still get the problem, "Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: yjpagent." From what others posted, this issue sounds related to the kernel and not the JVM. Or are you saying that Java, when running in 32 bit mode on a 64 bit kernel, will still have the "costs" you describe?

Maybe I can talk myself into a reboot and come up on the 32 bit kernel, see if the profilier will work for me then. :)

It's pretty strange. I have 64-bit os version too (gentoo on 2.6), but
running IDEA on 32-bit JVM saves yourkit... Please check your vm options
for profiler settings.

IK

0

Please sign in to leave a comment.