tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@bbs1.homeip.net
Subject OutOfMemoryError: allocLargeObjectOrArray
Date Wed, 30 Jan 2008 07:48:37 GMT
Dear all:
        We have some problem with OutOfMemory error.
        Environment
        Tomcat: 5.5.25
        JDK: jrockit-R27.4.0-jdk1.5.0_12

====================================================================
5130472 [TP-Processor29] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Mainweb].[default]
 - Servlet.service() for servlet default threw exception
java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size:
75333648, Num elements: 37666816
        at java.lang.String.<init>(String.java:458)
        at
java.io.ByteArrayOutputStream.toString(ByteArrayOutputStream.java:160)
        at
org.apache.tomcat.util.log.CaptureLog.getCapture(CaptureLog.java:48)
        at
org.apache.tomcat.util.log.SystemLogHandler.stopCapture(SystemLogHandler.java:109)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:207)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.jstripe.tomcat.probe.Tomcat55AgentValve.invoke(Tomcat55AgentValve.java:20)
        at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:595)
==================================================================
java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size:
75333648, Num elements: 37666816
       What does it mean about  allocLargeObjectOrArray ?
       I have tried to tune jvm options with "-server -Xms768m -Xmx768m
-Xns256m"
      But tomcat still throw out the same error
      Any suggestion will be appreciated ^^



---------------------------------------------------------------------
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


Mime
View raw message