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

Key: IDEA-16931
Type: Performance Problem Performance Problem
Status: Resolved Resolved
Resolution: Cannot Reproduce
Assignee: Eugene Zhuravlev
Reporter: wilmot
Votes: 0
Watchers: 1
Operations

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

Tomcat is extremely slow during debugging

Created: 21 Jan 08 20:53   Updated: 08 Jul 08 17:49
Component/s: J2EE.Deployment and Run.Tomcat

Environment:
Windows XP SP2
JDK 1.6.0_04
Tomcat 5.5.25

Build: 7,590
Severity: High


 Description  « Hide
I have a local Tomcat instance under debug using shared memory. I use default startup script to launch Tomcat from IDEA. It takes ages for Tomcat to start the web application - about 10 minutes. Tomcat launched the usual way starts in a few seconds.
I also tried to perform debugging of the same Tomcat instance in IDEA 6.0.6 and it works fast.
Could it be the difference in launch scripts or anything else that causes Tomcat's VM to slow down?

 All   Comments   Work Log   Change History      Sort Order:
Eugene Zhuravlev - 02 Apr 08 16:06
First, using shared memory is not recommended, use sockets instead (more reliable implementation)

If you Tomcat runs on JDK 1.6.x or 1.5.x , please check that there are no "-Xdebug -Xnoagent -Djava.compiler=NONE " debug options passed. Leave there only "-Xrunjdwp......." option.

Also please ensure that in IDESettings | Debugger | General | Launching | Disable JIT option is unchecked.


wilmot - 20 Apr 08 15:47
Well, I cannot observe this issue on my upgraded hardware.

Thanks for your tips anyway!