> From: Hennig, Patrick [mailto:phen...@l1id.com] > Subject: RE: MemoryLeak Problem with ThreadWithAttributes
> The Tomcat Level is 5.5.15. That's over three years old. The first thing I'd do is move up to the current 5.5.27. > In one of the HeapDumps i see 25 ThreadWithAttributes Objects. That's not an unusual number. Tomcat uses ThreadWithAttributes objects to handle incoming requests; this is controlled by the various thread-related attributes of each <Connector> element. > i see that this Object hast round 515mb of kind "Object" stored. No, the 515mb is the aggregate for all of the request-handling threads. The thread in question has a bit over 100 MB (which is still a lot). > And nealy all the time all the MemoryAnalyser`s say, that > ThreadWithAttribute is the Reason for OOM. It's not the ThreadWithAttributes objects themselves, it's what some of them are hanging onto that causes the OOME. You need to look inside the java.lang.Object array that this particular thread is holding and see what the type of object in the array is. That should help to narrow down where they're coming from. Your second screen shot shows you starting to do this, but you didn't wait long enough for it to display the array contents. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org