tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <>
Subject Re: Recovery from OutOfMemoryError?
Date Tue, 31 Jul 2007 17:45:47 GMT

On 31/07/2007, at 7:39 PM, Marco wrote:

> Dear Craig,
> You are familiar with, even with enough systemmemory, JVM uses limited
> memory?
> I your application consumes much memory, you could change settings  
> in the
> tomcat6.conf file:
> #JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
> JAVA_OPTS="-Xmx1024M -Xms512M"

mx and ms should be the same for a server application.
And as mentioned by someone earlier, you will probably want to increase
MaxPermSize as well.

-Xmx1500m -Xms1500m -XX:MaxPermSize=256m



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message