9 Replies Latest reply on Jan 19, 2011 9:25 AM by Peter Johnson

    Getting OutOfMemoryError:Java heap space error

    Mitesh Kothari Newbie

      java.lang.OutOfMemoryError:Java heap space

                 at java.util.HashMap.addEntry(HashMap.java:797)

                 at java.util.HashMap.put(HashMap.java:431)

                 at com.documentum.fc.client.impl.typeddata.AggregateLiteType.addAttrInternal(AggregateLiteType.java:430)

                 atcom.documentum.fc.client.impl.typeddata.AggregateLiteType.addAttrInternal(AggregateLiteType.java:423)

                 at com.documentum.fc.client.impl.typeddata.AggregateLiteType.buildMapping(AggregateLiteType.java:344)

                 atcom.documentum.fc.client.impl.typeddata.AggregateLiteType.<init>(AggregateLiteType.java:35)

                 at com.documentum.fc.client.impl.typeddata.AggregateLiteType.getUnextendedType(AggregateLiteType.java:103)

                 atcom.documentum.fc.client.impl.connection.LiteTypeManager.extractAspectTypeNames(LiteTypeManager.java:328)

                 at com.documentum.fc.client.impl.connection.LiteTypeManager.refreshTypeIfNeeded(LiteTypeManager.java:303)

                 atcom.documentum.fc.client.impl.objectprotocol.ObjectProtocolV1.deserializeObject(ObjectProtocolV1.java:91)

                 atcom.documentum.fc.client.impl.objectprotocol.ObjectProtocolV1.deserializeObjectWithPossiblyExtendedType(ObjectProtocolV1.java:203)

                 atcom.documentum.fc.client.impl.objectprotocol.ObjectProtocolV1.deserializeObjectWithPreamble(ObjectProtocolV1.java:309)

                 at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.applyForObject(NetwiseDocbaseRpcClient.java:663)

                 atcom.documentum.fc.client.impl.connection.docbase.DocbaseConnection$8.evaluate(DocbaseConnection.java:1246)

                 at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.evaluateRpc(DocbaseConnection.java:1014)

                 atcom.documentum.fc.client.impl.connection.docbase.DocbaseConnection.applyForObject(DocbaseConnection.java:1238)

                 at com.documentum.fc.client.impl.docbase.DocbaseApi.parameterizedFetch(DocbaseApi.java:106)

                 atcom.documentum.fc.client.impl.objectmanager.PersistentDataManager.fetchFromServer(PersistentDataManager.java:194)

                 atcom.documentum.fc.client.impl.objectmanager.PersistentDataManager.getData(PersistentDataManager.java:92)

                 atcom.documentum.fc.client.impl.objectmanager.PersistentObjectManager.getObjectFromServer(PersistentObjectManager.java:355)

                 atcom.documentum.fc.client.impl.objectmanager.PersistentObjectManager.getObject(PersistentObjectManager.java:311)

                 at com.documentum.fc.client.impl.session.Session.getObject(Session.java:834)

                 atcom.documentum.fc.client.impl.session.SessionHandle.getObject(SessionHandle.java:580)

                 at com.bureauveritas.documentum.common.dql.ExecDQL.queryForList(Unknown Source)

                 at com.bureauveritas.documentum.common.dql.ExecDQL.queryForList(Unknown Source)

                 atcom.bureauveritas.documentum.ismt.alertnotification.BvAlertNotificationJob.getExceededDueDate(UnknownSource)

                 atcom.bureauveritas.documentum.ismt.alertnotification.BvAlertNotificationJob.performJob(UnknownSource)

                 at com.bureauveritas.documentum.common.job.ABvCommonJob.performMethod(UnknownSource)

                 at com.bureauveritas.documentum.common.method.ABvCommonMethod.perform(UnknownSource)

                 at com.bureauveritas.documentum.common.method.ABvCommonMethod.execute(UnknownSource)

                 at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)

                 at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)

      06:12:38,598ERROR [http-0.0.0.0-9080-1] com.documentum.mthdservlet.DoMethod - Exceptioninvoking bv_mod_icc_dctm_alertnotification.

      ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error

                 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:319)

                 at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)

                 atorg.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)

                 at com.documentum.mthdservlet.MethodOutputStream.flush(Unknown Source)

                 at com.documentum.mthdservlet.MethodOutputStream.flush(Unknown Source)

                 at com.documentum.mthdservlet.MethodOutputStream.methodClose(Unknown Source)

                 at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)

                 at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)

                 at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)

                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                 atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                 atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                 atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                 atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

                 atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

                 atorg.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

                 atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

                 atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

                 atorg.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

                 atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                 at java.lang.Thread.run(Thread.java:595)

      Causedby: java.net.SocketException: Software caused connection abort: socket writeerror

                 at java.net.SocketOutputStream.socketWrite0(Native Method)

                 at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

                 at java.net.SocketOutputStream.write(SocketOutputStream.java:136)

                 atorg.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:737)

                 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)

                 atorg.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)

                 at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:963)

                 at org.apache.coyote.Response.action(Response.java:183)

                 at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)

                 ... 28 more

      06:12:38,598ERROR [http-0.0.0.0-9080-1]org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/DmMethods].[DoMethod]- Servlet.service() for servlet DoMethod threw exception

      javax.servlet.ServletException:ClientAbortException:  java.net.SocketException: Software causedconnection abort: socket write error

                 at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)

                 at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)

                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

                 atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                 atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                 atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                 atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

                 atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                 atorg.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

                 atorg.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

                 atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

                 atorg.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)