this message in context:
http://old.nabble.com/Memory-leak-in-Tomcat-5.5.16-tp16335734p28454415.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
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
Hi,
I have a Java application that exposes a web services (SOAP/XML)
interface using Apache Tomcat and Axis2 (see detailed background below).
When this interface is heavily utilized, the application gradually leaks
old space memory until it runs out. I have analyzed the heap usage on a
system
-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