Hello Tom,
I am facing a similar issue. Could you please send that piece of code that
was causing you this
error, just that snippet should be good.
Thanks
Tom Price-3 wrote:
Hi all,
No more help required - I traced back all the references to the Request
objects and it did turn out to
Hi all,
No more help required - I traced back all the references to the Request
objects and it did turn out to be a bug in my application code. One of
my tracing classes (written a long time ago, before we used Tomcat) was
caching all created Thread objects. So when Tomcat decided to allocate
Hi,
I have now managed to do some analysis of the classes that are
referencing the leaked objects, can anyone help me interpret these
results?
I got jmap/jhat working by upgrading to JRE 1.6.0_05, and took a heap
dump at a time after a period of stress when all SOAP/XML connections
had been
Tom Price
I'm trying to find a tool that will show me which objects are holding
onto references to these Tomcat objects, but haven't had much success so
far - any suggestions gratefully received.
Not free, but I use YourKit and get on very well with it.
Mark
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
RE: Memory leak in Tomcat 5.5.16
Christopher,
Christopher Schultz wrote:
Have you been able to compare the numbers of those objects after, say,
100 requests with the same object counts after, say, 1 requests?
It
/is/ possible
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tom,
Tom Price wrote:
| I have analyzed the heap usage on a
| system where this memory leak has occurred, and I see that the following
| classes take up most of the memory:
[snip]
| Does anyone know what could trigger the above classes to be
try to disable the cache in conf/catalina.properties, at the bottom
there is a setting you can set to false
tomcat.util.buf.StringCache.byte.enabled=true
if the problem still exists, use jmap to dump the heap, and analyse the
actual dependencies for mem usage
Filip
Tom Price wrote:
Hi,
I
Christopher,
Christopher Schultz wrote:
Have you been able to compare the numbers of those objects after, say,
100 requests with the same object counts after, say, 1 requests?
It
/is/ possible that Tomcat is leaking memory per connection, but very
unlikely given that thousands of servers