facebook

Tomcat 5.0 JVM Virtual Memory Size Setting

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #202794 Reply

    David Baker
    Member

    I would like to set the size of the JVM’s virtual memory when I launch tomcat 5.0. I think the parameters are -Xms and -Xmx. They Catalina ops I think.

    Anyway, is there a way to set these parameters on the MyEclipse preference/TomCat 5.0?

    #202797 Reply

    Riyad Kalla
    Member

    Window>Prefs>MyEclipse>Application Servers>Tomcat 5>JDK
    “Optional VM Arguments”

    
    -Xms256m -Xmx256m
    

    did that work for you?

    #202799 Reply

    David Baker
    Member

    I tried it earlier with the following paramenters: -Xms10m -Xmx100m, and it did not work.

    I tried it again after I received your message and it seems to work ok.

    Is there some way I can find out what the default settings are?

    I want to experiment with changes and observe results, and it would be helpful to know the defaults.

    #202801 Reply

    Riyad Kalla
    Member

    These defaults are set by Tomcat and I believe it is 64mb. The default command line from MyEclipse does not specify any ms or mx setting.

    #202802 Reply

    David Baker
    Member

    Thanks, for now I will just assume it’s 64MB.

    #202803 Reply

    Riyad Kalla
    Member

    No problem.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Tomcat 5.0 JVM Virtual Memory Size Setting

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