Uploaded image for project: 'JAPI'
  1. JAPI
  2. JAPI-88

Ludicrously large workunit content is causing an out of memory error

    XMLWordPrintable

    Details

      Description

      When attempting to call getWorkunitResults() for this wuid, an out of memory error occurred: 

      http://10.194.169.2:8010/ ?Wuid=W20170801-150214&Widget=WUDetailsWidget#/stub/Files-DL/Grid

       

      Stacktrace:

      `````

      java.lang.OutOfMemoryError: Java heap space at org.apache.axis.message.SAX2EventRecorder$objArrayVector.add(SAX2EventRecorder.java:254) at org.apache.axis.message.SAX2EventRecorder.characters(SAX2EventRecorder.java:91) at org.apache.axis.encoding.DeserializationContext.characters(DeserializationContext.java:963) at org.apache.xerces.parsers.AbstractSAXParser.characters(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleCharacter(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.hpccsystems.ws.client.gen.wsworkunits.v1_62.WsWorkunitsServiceSoapStub.WUInfo(WsWorkunitsServiceSoapStub.java:4418) at org.hpccsystems.ws.client.gen.wsworkunits.v1_62.WsWorkunitsServiceSoapProxy.WUInfo(WsWorkunitsServiceSoapProxy.java:230)

       

      and this kills the server jvm. I'm not sure how this can be handled, as there's no way I know of to get a workunit' size without calling WUInfo. Perhaps a timeout of some sort?

        Attachments

          Activity

            People

            Assignee:
            rpastrana Rodrigo Pastrana
            Reporter:
            drealeed Drea Leed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: