Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reading large XML coverage files (crash on 2GB files) #351

Merged
merged 1 commit into from
Jun 1, 2020

Conversation

sergesh78
Copy link

Report Generator tries to read first line of coverage file into memory in order to determine if it's XML or text; however in my case I have 2-2.5 GB files without line breaks, which causes OutOfMemory exception

@danielpalme danielpalme merged commit a2ee606 into danielpalme:master Jun 1, 2020
@danielpalme
Copy link
Owner

Thanks!
Release 4.6.1 contains your fix.

@danielpalme danielpalme added the bug label Jun 1, 2020
@sergesh78 sergesh78 deleted the sergesh/FixLargeXml branch June 1, 2020 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants