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
Hi,
I run Tomcat 5.5.16 embedded within a Java application, and currently do
not have a file called catalina.properties in the installation. I would
like to change an option which is normally in that file, so my question
is how do I do that?
I've tried creating a conf directory under my main
Rainer,
Rainer Jung wrote:
What do you try to set via catalina.properties?
Thanks for the information. I'm trying to set:
tomcat.util.buf.StringCache.byte.enabled=false
Thanks,
Tom.
-
To start a new topic, e-mail:
Rainer Jung wrote:
Then it's easy, the StringCache class gets it as a system property. So
you simply set it as a system property from your own code, before
embedded Tomcat gets it. Values are false or true.
Great, thanks.
-
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
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