tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: Tomcat memory question
Date Tue, 14 Jun 2005 11:00:25 GMT
64MB is tight. But class definitions (IIRC) do not go onto the heap so you 
could have a lot of classes without any worries.

But I recommend
- Not using sessions (or severely limiting its use)
- Tweak your server.xml to not have any of the examples, etc
- Be very careful in creating large objects and holding on to references to them


Charl Gerber wrote:
> My tomcat instance is now running 10 webapps and will
> most likely get more, in the region of 15. My service
> provider configures my server with 64MB heap space. 
> Question is, what affects the memory usage? Purely the
> number of hits (ie active sessions) or the number of
> webapps as well? Should my server run ok with 64MB
> heap memory for say 15 or maybe even 20 webapps?
> The apps itself are rather small.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message