Thank you for submitting your request to Quest Software Technical Support.  We are 
unable to process your request because our records indicate that you are not 
registered for Technical Support.

To register, logon to our Supportlink web site http://www.quest.com/support , and  
self-register from the web.  Or, you can phone Quest at one of the numbers below to 
register.

Once you have registered, you can submit your request within Supportlink, by email at 
[EMAIL PROTECTED], by phone at one of the numbers below.

Please do not reply to this email.

If this is an URGENT matter please contact Quest Technical Support via telephone at 
one of the numbers listed below.

Thank you,

Quest Software Technical Support
www.quest.com/support

Quest Software Technical Support - Canada               902.442.5700
Quest Software Technical Support - United Kingdom  44.1628.601007
Quest Software Technical Support - United States      949.754.8000
>  --------------------Original Message--------------------
>  From: "Shapira, Yoav" [mailto:[EMAIL PROTECTED]
>  Sent: Fri, 22 Aug 2003 12:31:08 -0400
>  To: "Tomcat Users List" [EMAIL PROTECTED]
>  Subject: RE: RE : Does Tomcat trim sessions when it runs out of memory?
>  
>  
>  Howdy,
>  Yes, there is indication somewhere about the memory currently used by tomcat: 
> Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory().
>  
>  As you can tell from the functions, they're JVM-wide, not Tomcat-specific.  This 
> would be true for any program, as all classes in the JVM share one heap.
>  
>  Tomcat's objects are cleaned up normally by the garbage collector, just like all 
> other program objects.  Tomcat's programmers take care not to keep unneeded 
> references to objects which would prevent collection, but we like everyone else are 
> not perfect.  So if you see a memory leak in the code, by all means point it out.
>  
>  Most of the time, applications leak memory, and do so in amounts much larger than 
> tomcat itself.  Profile your application to see where memory is used so that you can 
> correct the code.  At the same time, you can profile tomcat by itself if you're not 
> convinced its memory use is efficient.
>  
>  Sometimes, applications need more than the default 64MB java allocates the heap.  
> In that case, you would increase the heap size as needed by your app.
>  
>  Yoav Shapira
>  Millennium ChemInformatics
>  
>  
>  >-----Original Message-----
>  >From: Hertenstein Alain [mailto:[EMAIL PROTECTED]
>  >Sent: Friday, August 22, 2003 10:50 AM
>  >To: 'Tomcat Users List'
>  >Subject: 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:[EMAIL PROTECTED]
>  >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:[EMAIL PROTECTED]
>  >>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: [EMAIL PROTECTED]
>  >>For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>  >
>  >
>  >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: [EMAIL PROTECTED]
>  >For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>  >**********************************************************************
>  > 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.
>  >**********************************************************************
>  >
>  >
>  >---------------------------------------------------------------------
>  >To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >For additional commands, e-mail: [EMAIL PROTECTED]
>  
>  
>  
>  
>  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: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>  

Reply via email to