You seem to be using linux. If you go:

ps alx | grep java

after you have started tomcat you should be able to find the invocation for tomcat. Please check to see whether or not the options you have specified below appear in that list and check very carefully that there is whitespace around the options. I would look for two things were I debugging this:

1. The option isn't being included in the tomcat java invocation

2. The option is corrupted (misspelt, incorrect spacing etc).

HTH

Alan Chaney


Tomás Tormo wrote:
Hi

here it comes my question again... :D How to increase tomcat memory? I'm getting "GC overhead limit exceeded".

I tried putting export JAVA_OPTS="-Xms256m -Xmx512m" in setclasspath.sh file as well as putting CATALINA_OPTS="-server -Xms256m -Xmx512m" in /etc/init.d/tomcat5.5 script file, but when I go to tomcat administration webpage and list the server status I always get "Max memory: 113.81 MB".

Thank you very much


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to