tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat heap memory behavior question
Date Sun, 24 Jan 2010 20:34:59 GMT
> From: Ken Bowen [mailto:kbowen@als.com]
> Subject: Tomcat heap memory behavior question
> 
> 1)  Is this normal Tomcat behavior?

Yes, this is normal.

> 2)  What Tomcat activity is consuming the heap?

Depends on what connectors you have configured, your watched resources, autoDeploy settings,
etc.  All of these are creating objects as they run, even if they find nothing to actually
work on.  You can enable a heap profiler to see the exact objects and who's creating them.

> 3)  Presumably this means that in planning for a memory restricted
> Tomcat + apps, one needs to apportion about 22MB to the Tomcat heap,
> apart from heap allocated to applications.

Sounds reasonable, although the base value will vary somewhat depending on config settings,
Tomcat version, JRE version, OS, and platform.

When sizing, don't forget about PermGen usage, which is not part of the heap and is largely
dependent on the number of classes in your webapps.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


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


Mime
View raw message