tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Adamovic <ad...@blic.net>
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
http://www.online-utility.org  http://www.shortopedia.com 
http://www.froola.com  http://www.gift-idea4u.com



---------------------------------------------------------------------
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