tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emilio Miranda" <emira...@atos-ods.com.pe>
Subject RE: Out of Memory Errors. Help!
Date Tue, 28 May 2002 21:09:11 GMT
Maybe you have some instances of classes that "never die" and colapse the
memory . Try using some tool to check the objects of your aplication. I had
a similar problem and used OptimizedIt (www.vmgear.com) a free demo to check
the behavior of the classes and the Tomcat.

				Regards

-----Mensaje original-----
De: Mc Cabe, Lisa [mailto:lisa@applix.com]
Enviado el: martes 28 de mayo de 2002 16:04
Para: Tomcat Users List
Asunto: Out of Memory Errors. Help!



Hi... Hope there is someone out there who can help with this!

 We are attempting to connect 50 clients to Tomcat 4.03 (running
stand-alone) simultaneously.
After several minutes, we get the error java.lang.OutOfMemoryError and all
threads terminate, however it would appear that we have plenty of memory.

The java.exe memory goes to about 90 mg when the error occurs.

The machine is: Windows 2000 512 mg.


 Our CATALINA_OPTS setting is: -Xms128m -Xmx256m.  We tried bumping this up
to no avail.


This our HTTP connector setting in the server.xml file:

<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8080" minProcessors="5" maxProcessors="250"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>

THis is the stack trace in the localhost_log.2002-05-28.txt

2002-05-28 15:58:35 StandardWrapperValve[CubeServlet]: Servlet.service() for
servlet CubeServlet threw exception
javax.servlet.ServletException: Servlet execution threw an exception
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
	at java.lang.Thread.run(Unknown Source)
----- Root Cause -----
java.lang.OutOfMemoryError
	<<no stack trace available>>

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message