tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Morelock <subscripti...@phillipmorelock.com>
Subject Re: Out of Memory Errors. Help!
Date Tue, 28 May 2002 21:05:42 GMT
are you using a database by chance?

most likely culprit is a badly garbage-collected partly-native database
driver.  If you are using the JDBC ODBC bridge driver, you're definitely
having problems.  If by chance (just guessing at this point) you're using MS
SQL Server 2k, use microsoft's JDBC driver instead.

fillup


On 5/28/02 2:04 PM, "Mc Cabe, Lisa" <lisa@applix.com> wrote:

> 
> 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(ApplicationFi
> lterChain.java:269)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:193)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java
> :243)
> at 
> 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566>
)
> 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.java
> :190)
> at 
> 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566>
)
> 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:566>
)
> at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.ja
> va:170)
> at 
> 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564>
)
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> at 
> 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564>
)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> at 
> 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564>
)
> 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:1
> 74)
> at 
> 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566>
)
> 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:10
> 12)
> 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