facebook

Slow startup time of Tomcat in DEBUG mode

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #291219 Reply

    vlevacic
    Member

    I am using the MyEclipse version 4.1.1GA and Eclipse 3.1.1

    I am having an issue of slow start of Tomcat in debug mode from the MyEclipse. If I do the manual start of Tomcat from command prompt and prior to that enable the JPDA hooking capability, my three web applications I have in Tomcat start about 5 times faster than through the Eclipse. In that case I can use the debugging facility of Eclipse so the end result is the same.

    I suspect there are memory issues, and I have increased the memory heap size through the Optional Java VM Arguments in Tomcat configuration (-Xmx1024m -Xms512m) but I did not observe any performance increase ( I have put higher memory size to manual start).

    Also, if I remove the other two web applications and I start with one individually speed of startup of one application is fast.

    Is there a way to check the JVM parameters MyEclipse uses to start the Tomcat?

    #291223 Reply

    rmcvay
    Member

    Have you tried setting them in the supporting JDK “Optional Java VM arguments”?

    #291227 Reply

    vlevacic
    Member

    Yes I did, the result is the same. I believe parameters are registered since if I accidently make the mistake in optional parameters, JVM complains about the error.

    #291242 Reply

    vlevacic
    Member

    Some other people had similar issues on other servers as well. I had to recreate a new workspace and import all the projects into it. I also had to put the memory increase parameters to make it work (but that was not related to root of the problem). Now startup time is normal.

    It would be helpful if myeclipse team puts that as a note somewhere and maybe gives a explanation why these two things are related.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Slow startup time of Tomcat in DEBUG mode

You must be logged in to post in the forum log in