You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hertenstein Alain <al...@gva.eri.ch> on 2003/08/22 16:49:33 UTC

RE : Does Tomcat trim sessions when it runs out of memory?

Is there any indication somewhere about the memory currently used by Tomcat
and the maximum memory allowed ?
Is there a way to "clean up" memory used by Tomcat in order to avoid
OutOfMemoryErrors (like a Garbage Collector for Java or something) ?

Thanks

-----Message d'origine-----
De : Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] 
Envoyé : vendredi, 22. août 2003 15:20
À : Tomcat Users List
Objet : RE: Does Tomcat trim sessions when it runs out of memory?



Howdy,
No, it doesn't get rid of sessions (it's not allowed to according to the
spec).  In fact, tomcat doesn't try to detect when it's "running out of
memory" and doesn't do anything about it: if you don't have enough memory,
tomcat will go into an undefined state (or just die) with an
OutOfMemoryError.


Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Neil Aggarwal [mailto:neil@JAMMConsulting.com]
>Sent: Thursday, August 21, 2003 10:03 PM
>To: 'Tomcat-User'
>Subject: Does Tomcat trim sessions when it runs out of memory?
>
>Hello:
>
>I have a question:
>
>Does Tomcat get rid of sessions when it run out of memory?
>
>We are seeing sessions disappear on our app and are trying
>to find an explanation for it?
>
>What does Tomcat do when it begins to run out of memory?
>
>Thanks,
>	Neil
>
>--
>Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com 
>FREE! Valuable info on how your business can reduce operating costs by 
>17% or more in 6 months or less! =>
http://newsletter.JAMMConsulting.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


**********************************************************************
 This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************