views:

330

answers:

1

I have out of memory issues with following environment:

Tomcat 5.1.23 Using XFire WebServices Framework JDK 1.5

Used YourKit to profile it and found out multiple instances of class org.apache.tomcat.util.threads.ThreadWithAttributes has huge ArrayList object (Stack Local) with java.lang.Object array containing duplicate string.

Following are some screenshots.

Any idea why ThreadWithAttributes hold references to such ArrayList objects and those strings seem to be input to software deployed in tomcat?

Does it have to do something with known memory leak issue with tomcat?

Screenshot 1

Screenshot 2

A: 

Never mind! It was our code causing those Tomcat threads to keep the data in stack local.

Adnan Memon
Hi, we are having a similar issue (a ThreadWithAttributes of 700M!) can you please provide more information... although it's been almost a year.
Ubersoldat