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?