tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maduranga <madurang...@gmail.com>
Subject Tomcat Runs OutOfMemory (Not at repeated WAR deployments)
Date Thu, 03 Jul 2008 13:40:54 GMT
Hi,

Tomcat version "5.5.20"
Java version "1.5.0_09"

I run a production system with an single WAR file which communicates
to an outside-world web-service via a ActiveMQ.
Also it connects to an FTP service and does some image manipulation as well.
Spring is being used for IOC, and JDBC (JDBCTemplate of Spring) is
used for persisting.

When there are heavy queries on server, even though the free memory is
there for JVM it quickly utilizes memory and JVM seems not to garbage
collect even after users logging out.

I changed many JVM parameters with no luck and currently it is:
-server -Xms512m -Xmx2048m -XX:NewSize=128m -XX:MaxNewSize=128m
-XX:SurvivorRatio=4

Found a couple of articles on Tomcat classloader issue, but this is
not rellay at the deployment of the WAR.

Any advice is welcome to enhance this massive page loading slowness
and out-of-memory problem.


Thanks
Maduranga



--
Maduranga

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