tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
Date Tue, 20 Sep 2005 14:12:44 GMT
A listener that calls

LogManager.shutdown();
LogFactory.releaseAll();		
Introspector.flushCaches();

on contextDestroyed 

might also help if you are using certain apis like log4j, struts.

Allistair.

> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: 20 September 2005 15:08
> To: Tomcat Users List
> Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
> 
> 
> > From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com] 
> > Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
> > 
> > 3 things to do;
> > 
> > Get a profiler to see where you may be losing memory.
> > Ensure no resource/references are held onto, dispose 
> > references correctly
> > Hard restart Tomcat when OOME occur.
> 
> In addition to the above, you might want to increase your -Xmx setting
> and the size of the permanent generation (-XX:PermSize=??).  
> This won't
> eliminate the need to restart Tomcat, but it may allow you more time
> between restarts.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE 
> PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete 
> the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT> <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLACK> 
Disclaimer:  The information contained within this e-mail is confidential and may be privileged.
This email is intended solely for the named recipient only; if you are not authorised you
must not disclose, copy, distribute, or retain this message or any part of it. If you have
received this message in error please contact the sender at once so that we may take the appropriate
action and avoid troubling you further.  Any views expressed in this message are those of
the individual sender.  QAS Limited has the right lawfully to record, monitor and inspect
messages between its employees and any third party.  Your messages shall be subject to such
lawful supervision as QAS Limited deems to be necessary in order to protect its information,
its interests and its reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee
that attachments are virus free or compatible with your systems and does not accept any liability
in respect of viruses or computer problems experienced.
</FONT>


---------------------------------------------------------------------
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