You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by zero args <ar...@gmail.com> on 2007/11/20 01:54:07 UTC

What causes OutOfMemoryError ?

   Hi
 Right now I was using tomcat 5.5.25 and got the exception as shown below:

2007/11/16 21:44:01 org.apache.coyote.http11.Http11Processor process
������: Error processing request
java.lang.OutOfMemoryError: Java heap space
    at org.apache.tomcat.util.buf.ByteChunk.allocate(ByteChunk.java:159)
    at org.apache.tomcat.util.buf.ByteChunk.<init>(ByteChunk.java:124)
    at org.apache.catalina.connector.OutputBuffer.<init>(OutputBuffer.java
:170)
    at org.apache.catalina.connector.OutputBuffer.<init>(OutputBuffer.java
:158)
    at org.apache.catalina.connector.Response.setConnector(Response.java
:138)
    at org.apache.catalina.connector.Connector.createResponse(Connector.java
:923)
    at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:124)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
    at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)
2007/11/16 21:44:27
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
������: org.apache.tomcat.util.net.LeaderFollowerWorkerThread@5bcab2 ��g�������� (
java.lang.OutOfMemoryError: Java heap space) �򥭥�å������Τǡ�����åɤ�K�ˤ��ޤ�

After the exception occur ,any request to  my app1 was refused while other
app deployed on the same tomcat server worked well.
I don't  what  can cause the exception and why other apps can still
work.Help please!

Re: What causes OutOfMemoryError ?

Posted by Mark Thomas <ma...@apache.org>.
zero args wrote:
> I don't  what  can cause the exception and why other apps can still
> work.Help please!

http://tomcat.apache.org/faq/memory.html



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org