MyEclipse: How to set Tomcat java parameters?

P0rridge - Jan 13, 2012 - 02:24 PM
Post subject: How to set Tomcat java parameters?
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
cconway - Jan 15, 2012 - 01:48 PM
Post subject:
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.
P0rridge - Jan 17, 2012 - 09:35 AM
Post subject: great
Thanks Cindy, I would never have been able to find that - seems to be working. Saving me a lot of time.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits