Hi, have a look at this blog:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6433 Perhaps you find the described tool (SAP Memory Analyzer) useful for inspecting your memory dump. regards Dirk -------- Original-Nachricht -------- > Datum: Tue, 23 Oct 2007 10:43:39 +0200 > Von: Peter Bauer <[EMAIL PROTECTED]> > An: Tomcat Users List <users@tomcat.apache.org> > Betreff: All threads busy + OutOfMemoryError > > Hi all, > > i thought i had solved the "All threads busy problem" by implementing a > dedicated servlet class for forwarding requests but maybe i was wrong or > there is another problem. During a loadtest last night i got the > following lines in the catalina.out: > > 23-Oct-2007 02:24:36 org.apache.tomcat.util.threads.ThreadPool logFull > SEVERE: All threads (75) are currently busy, waiting. Increase > maxThreads (75) or check the servlet status > java.lang.OutOfMemoryError: Java heap space > Dumping heap to /var/log/dmc/java_pid29947.hprof ... > Heap dump file created [272845160 bytes in 6.892 secs] > 23-Oct-2007 02:29:22 > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run > SEVERE: Caught exception (java.lang.OutOfMemoryError: Java heap space) > executing [EMAIL PROTECTED], > terminating thread > java.lang.OutOfMemoryError: Java heap space > > > As you can see a dumpfile of the heap has been created. Additionally the > exceptions can be found in the attached localhost_log file. > > I already opened the dumpfile in Yourkit 7.0 but i have no clue how such > a dump normally looks like and how to search a memory leak. > Maybe someone could give me a hint how to track down the potential > Memory Leak. > I attached the files, please take a look at them. The compresses > heapdump file has about 5MB so i cannot send it to the mailing list, but > can send it directly if somebody needs it. > > > thx, > Peter > -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]