tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <>
Subject RE: Why getting this error?
Date Mon, 03 Oct 2005 13:43:05 GMT
> From: Ritchie Gillam [] 
> 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:
For additional commands, e-mail:

View raw message