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

            There are no comments yet on this issue.

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

                Created:
                Updated: