tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hertenstein Alain <>
Subject RE : Does Tomcat trim sessions when it runs out of memory?
Date Fri, 22 Aug 2003 14:49:33 GMT
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) ?


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

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

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Neil Aggarwal []
>Sent: Thursday, August 21, 2003 10:03 PM
>To: 'Tomcat-User'
>Subject: Does Tomcat trim sessions when it runs out of memory?
>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?
>	Neil
>Neil Aggarwal, JAMM Consulting, (972)612-6056, 
>FREE! Valuable info on how your business can reduce operating costs by 
>17% or more in 6 months or less! =>
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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:
For additional commands, e-mail:

 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.

View raw message