Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21347

java.lang.OutOfMemoryError: GC overhead limit exceeded when parsing test results

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.2.4
    • Builds
    • None

      Issue Summary

      java.lang.OutOfMemoryError: GC overhead limit exceeded error on agent when test results are parsed in a task.

      After upgrading the MsTest.TestAdapter and MsTest.TestFramework NuGet packages, the MsTestParser task fails. The xml file with test results does not differ much from the one that used to be generated before updating build tools. Just a few extra lines. It's not a big file too - just around 20-30 lines.

      Steps to Reproduce

      Reproduced in customer specific environment.

      Expected Results

      Bamboo parses the file and the task succeeds.

      Actual Results

      Bamboo agent fails with java.lang.OutOfMemoryError: GC overhead limit exceeded

      Workaround

      Increase heap size for the agent jvm. However, it is not normal that a few lines in the file result in heap error. So, maybe there's something to be improved in the way Bamboo performs those tasks?

            [BAM-21347] java.lang.OutOfMemoryError: GC overhead limit exceeded when parsing test results

            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            Zaro made changes -
            Priority Original: High [ 2 ] New: Low [ 4 ]
            Zaro made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS Original: 11 New: 1
            Bugfix Automation Bot made changes -
            Status Original: Long Term Backlog [ 12073 ] New: Needs Triage [ 10030 ]
            Bugfix Automation Bot made changes -
            Priority Original: Low [ 4 ] New: High [ 2 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 11
            SET Analytics Bot made changes -
            UIS Original: 11 New: 1
            SET Analytics Bot made changes -
            UIS New: 11

              Unassigned Unassigned
              c64f33b2bce3 Yevhen
              Affected customers:
              2 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated: