tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
Subject RE: Why getting this error?
Date Mon, 03 Oct 2005 13:43:05 GMT
> From: Ritchie Gillam [mailto:gillamr@halifax.ca] 
> Thanks Peter!  Can you provide an example please?   Is this 
> defined somewhere in the server.xml file?

You should be able to set JAVA_OPTS, either within
$CATALINA_HOME/bin/catalina (from memory - CHECK! - it's too long since
I had to configure Tomcat on UNIX) or from the command line before
starting Tomcat:

	export JAVA_OPTS=-XX:MaxPermSize=128m

Put it in the same place as the options to set your heap size.  If you
aren't already setting the heap size by some means, my guess is that
that'll be the next out-of-memory error you get!

		- Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message