tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <>
Subject memory leak with shrinking thread pools
Date Wed, 11 Apr 2007 15:38:48 GMT
Thanks to Peter Rossbach for alerting me to this.

If we are using the Executor, and are using shrinking thread pools, the 
RequestGroupInfo collects these objects and never releases them.
The only reason we don't see the problem with the default thread pool, 
is cause it never shrinks, hence it never loses it's thread local 
reference to the object.

Current workarounds are:
1. maxThreads==minSpareThreads
2. Disable JMX

Example of reference tree


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message