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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.2.4
    • Component/s: Builds
    • None
    • 2
    • Severity 3 - Minor
    • 1

      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?

            Assignee:
            Unassigned
            Reporter:
            Yevhen
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: