MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
P0rridge
Post subject: How to set Tomcat java parameters?  PostPosted: Jan 13, 2012 - 02:24 PM
Registered Member
Registered Member


Joined: Jun 20, 2010
Posts: 143

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
 
 View user's profile Send private message  
Reply with quote Back to top
cconway
Post subject:   PostPosted: Jan 15, 2012 - 01:48 PM



Joined: Apr 04, 2011
Posts: 196

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.

_________________
Cindy
MyEclipse for Spring Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
P0rridge
Post subject: great  PostPosted: Jan 17, 2012 - 09:35 AM
Registered Member
Registered Member


Joined: Jun 20, 2010
Posts: 143

Thanks Cindy, I would never have been able to find that - seems to be working. Saving me a lot of time.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits