facebook

How to set Tomcat java parameters?

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #322322 Reply

    Greg Soulsby
    Member

    I am continually getting java.lang.OutOfMemoryError: PermGen space from Tomcat

    It seems there are memory leaks somewhere?

    Google is telling me to change the tomcat parameters, e.g.

    “-Xms1024m -Xmx10246m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m”

    how do I do that in ME4S? Everything I have tried seems to ignore me.

    Thanks

    #322352 Reply

    cconway
    Member

    I think you should be able to do it like this:

    1. Right-click on the server connector in the Servers tab and select Configure Server Connector.
    2. Expand the MyEclipse Tomcat node and select the JDK sub-node.
    3. Enter your settings into the Optional Java VM arguments section.

    Have you tried that previously? If that doesn’t work then I’ll have to escalate to the MyEclipse team that provides the server connector tooling.

    #322398 Reply

    Greg Soulsby
    Member

    Thanks Cindy, I would never have been able to find that – seems to be working. Saving me a lot of time.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to set Tomcat java parameters?

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