The  "Introspector.flushCaches();" in the "contextDestroyed" wasn't enough
for us...

How should we use the 'swallowOutput'? We've tried this way without results:

<Context displayName="eCompany 3.0"
         docBase="/eprj"
         path="eprj.war"
         privileged="true" swallowOutput="false">
(...)

Trond,

Do you have links to this "known issue"?

-----Mensagem original-----
De: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 15 de abril de 2005 11:08
Para: Tomcat Users List
Assunto: Re: Memory Leak Solved


Hi,

don't know if you are using it, but there's also a known issue with
5.0.28 and 'swallowOutput' in the <Context> element. After I turned it
off, I haven't gotten any out of memory errors...

Trond

sysdba wrote:

>We have struggled with a memory leak in 5.0.28/5.0.30 for months. There
have
>been many complaints about the necessity to restart Tomcat every couple
days
>due to Out of Memory errors, but no solutions that cured it. Well, the
>suggestion to put the single line:
>         Introspector.flushCaches();
>in the destroy method of a servlet in a redeployable app finally solves it.
Our
>Tomcat web server has now run for seven days without an OOM error. The
amount
>of time spent with the Optimizeit profiler trying to locate a nonexistent
>memory leak in the application code cannot be overestimated. This discovery
>should be bold red lettered in the docs.
>
>Gary Harris
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to