tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Adamovic <>
Subject Re: Out of Memory Error
Date Mon, 26 Jun 2006 20:33:08 GMT
Marco Aurélio Seraphim da Silva wrote:
> There's something I can do to reduce the amount of memory used by the JVM,
> or it's normal???
Actually, if you don't have many hits/day and if you don't have very 
memory consuming application
you could avoid OutOfMemory exception by reducing -Xmx -Xms to something 
less (256, 512M).

Also, there are some more memory tuning options like :
i.e. I use as default in Eclipse :

-XX:PermSize=32m -Xss32m

see in manual what are they for and play with it.

To help you more, you should (most probably) provide more detail  :
1) how many hits/day do you have
2) could you make other backup server to measure load with Apache 
benchmark (ab).

Mladen Adamovic

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

View raw message