Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-15978

CircleCI Unit Tests issue on latest trunk - java.lang.OutOfMemoryError: Java heap space

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-beta2, 4.0
    • CI
    • None
    • Quality Assurance
    • Normal
    • All
    • None

    Description

      We persistently see on the latest CircleCI trunk the following error:

       

      BUILD FAILED
      /tmp/cassandra/build.xml:1982: The following error occurred while executing this line:
      /tmp/cassandra/build.xml:1866: java.lang.OutOfMemoryError: Java heap space
       at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68)
       at java.lang.StringBuffer.<init>(StringBuffer.java:128)
       at com.sun.org.apache.xml.internal.utils.FastStringBuffer.getString(FastStringBuffer.java:872)
       at com.sun.org.apache.xml.internal.dtm.ref.sax2dtm.SAX2DTM2.getStringValueX(SAX2DTM2.java:2937)
       at com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter.getStringValueX(DOMAdapter.java:284)
       at junit_frames.template$dot$5()
       at junit_frames.applyTemplates5()
       at junit_frames.package()
       at junit_frames.template$dot$0()
       at junit_frames.applyTemplates()
       at junit_frames.applyTemplates()
       at junit_frames.transform()
       at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:620)
       at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:730)
       at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:343)
       at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:201)
       at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:870)
       at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:408)
       at org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform(AggregateTransformer.java:281)
       at org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XMLResultAggregator.java:157)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
       at org.apache.tools.ant.Task.perform(Task.java:350)
       at org.apache.tools.ant.taskdefs.Sequential$$Lambda$149/1543351283.accept(Unknown Source)
       at java.util.Vector.forEach(Vector.java:1275)
       at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Total time: 2 minutes 52 seconds
      Exited with code exit status 1
      CircleCI received exit code 1
      

       

      Example: https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/285/workflows/f2722016-2353-4c38-9fd2-8614f6609f55/jobs/1648/parallel-runs/16?filterBy=FAILED

      Attachments

        Issue Links

          Activity

            People

              e.dimitrova Ekaterina Dimitrova
              e.dimitrova Ekaterina Dimitrova
              Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m