Describe the bug
System.OutOfMemoryException while merging not so big files, trying to eat 10+ Gb in build pipeline
To Reproduce
dotnet tool install --global dotnet-reportgenerator-globaltool - newest at the moment of writing (5.5.5)
$ reportgenerator "-reports:${CI_PROJECT_DIR}/artifacts/tests/coverage_*.xml" "-targetdir:${CI_PROJECT_DIR}/artifacts/tests/merged" -reporttypes:"Cobertura;HtmlSummary"
2026-04-20T15:32:58: Arguments
2026-04-20T15:32:58: -reports:/builds/pp/pp3/artifacts/tests/coverage_*.xml
2026-04-20T15:32:58: -targetdir:/builds/pp/pp3/artifacts/tests/merged
2026-04-20T15:32:58: -reporttypes:Cobertura;HtmlSummary
2026-04-20T15:33:22: Error during reading report '/builds/pp/pp3/artifacts/tests/coverage_Pp3.Companies.Tests.xml' (Size: 50.7MB): Multiple errors
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
2026-04-20T15:33:32: Error during reading report '/builds/pp/pp3/artifacts/tests/coverage_Pp3.Mailer.Tests.xml' (Size: 52MB): Multiple errors
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
2026-04-20T15:33:40: Error during reading report '/builds/pp/pp3/artifacts/tests/coverage_Pp3.Tests.xml' (Size: 61MB): Multiple errors
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown.
The files in charge: https://drive.google.com/drive/folders/1cz6Ff9E3aZTIrVffQxyeFCnyoZ5HwXnS?usp=drive_link
Describe the bug
System.OutOfMemoryException while merging not so big files, trying to eat 10+ Gb in build pipeline
To Reproduce
dotnet tool install --global dotnet-reportgenerator-globaltool- newest at the moment of writing (5.5.5)The files in charge: https://drive.google.com/drive/folders/1cz6Ff9E3aZTIrVffQxyeFCnyoZ5HwXnS?usp=drive_link