1. you may have a memory leak in your code... do some profiling
2. check out abandoned sessions that are "due to expire" perhaps you can
lower the session timeout and that will make some memory available earlier.

Craig Berry wrote:
> Our Tomcat-based app suffers from occasional OutOfMemoryErrors.  We have
> found that we need to manually restart Tomcat when these happen;
> frequently the Tomcat process appears to be working after the error, but
> is actually crippled in one way or another by the loss of some key
> thread.
> 
>  
> 
> We would very much like to trigger an automated Tomcat restart when an
> OOME occurs.  Does anyone have suggestions on the cleanest, safest way
> to arrange this?  (We're running Tomcat as a normal process under Linux,
> if that matters.)
> 
>  
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to