Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: OutOfMemory exception explanation?

MURAT BALKAS

2004-01-27

Replies:






Hi,

   I need some info about these memory profiler's. Is there any free and
easy-to-integrate-to-tomcat memory profiler?

   Thanks...

Murat



                                                                                         
              "Filip Hanik"                                                                  
              <devlists@(protected)>                
              om>               cc:                                                        
                              Subject: RE: OutOfMemory exception explanation?                          
              27.01.2004 01:35                                                                
              Please respond to                                                                
              "Tomcat Users                                                                  
              List"                                                                        
                                                                                         
                                                                                         




download a memory profiler, should give you the exact place where memory is
being wasted. probably in your own webapp

-----Original Message-----
From: D'Alessandro, Arthur [mailto:Arthur.Dalessandro@(protected)]
Sent: Monday, January 26, 2004 11:43 AM
To: Tomcat Users List
Subject: OutOfMemory exception explanation?


We've been getting these every now and then:

Jan 23, 2004 5:03:30 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Exception in acceptSocket
java.lang.OutOfMemoryError
Jan 23, 2004 5:03:30 PM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception executing
org.apache.tomcat.util.net.TcpWorkerThread@(protected)
java.lang.IllegalStateException: Terminating thread
    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:53
2)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:619)
    at java.lang.Thread.run (Thread.java:536)



Once this occurrs, I have to stop / start the entire Tomcat container in
order to allow this particular webapp to function again. It only
effects a particular servlet mapping for a given webapp. Does anyone
have any suggestions on how to resolve? We're running version 4.1.24..
Any leads would be great, thanks.

-Art

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.