Open
Description
I get the "OutOfMemoryError" while generating scoverage xml reports for large projects (>50 targets/modules).
In my opinion, this is occurring because ScoverageXmlWriter.scala
tries to first generate the entire XML tree in memory before writing it out to the file:
One way to resolve the issue would be to use a stream writer (e.g javax.xml.stream.XMLStreamWriter
)to write the output. This would involve passing the writer as an argument to the xml(coverage: Coverage)
function above. Thanks.
Metadata
Metadata
Assignees
Labels
No labels