tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <and...@2sheds.de>
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

Cheers

Andrew




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


Mime
View raw message