tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale, Matt" <Matt.D...@beCogent.com>
Subject RE: Tomcat memory question
Date Tue, 14 Jun 2005 10:30:14 GMT

You will get an OutOfMemoryException for that particular request, all requests for memory
will fail until some memory is freed up so it's likely that when you get to the max, some/many/all
of your users may be affected.

>From the sounds of it 128MB would be more appropriate to your situation but I personally
would write a JSP or servlet to return the memory useage at any given time. That way you can
keep an eye on it.

Ta
Matt

-----Original Message-----
From: Charl Gerber [mailto:charlgerber@yahoo.com]
Sent: 14 June 2005 10:49
To: Tomcat Users List
Subject: RE: Tomcat memory question


If Tomcat does run out of memory, what will happen?

Will a user just temporarily not be able to access the
apps until another session becomes available, or will
it crash and I have to restart?

Will 128MB be fine?



--- "Dale, Matt" <Matt.Dale@beCogent.com> wrote:

> 
> Both active sessions and the number of webapps will
> fill up your heap. Within 64MB I think you will
> struggle to run 15-20 webapps but without knowing
> the exact size of them all and the amount of hits
> you expect I couldn't say for sure.
> 
> Ta
> Matt
> 
> -----Original Message-----
> From: Charl Gerber [mailto:charlgerber@yahoo.com]
> Sent: 14 June 2005 10:33
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat memory question
> 
> 
> 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.
> 
> Thanks.
> 
> Charl
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 


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


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


Mime
View raw message