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

Memory issues when dealing with many .cov files #100

Open
tomreece opened this issue Aug 19, 2020 · 3 comments
Open

Memory issues when dealing with many .cov files #100

tomreece opened this issue Aug 19, 2020 · 3 comments

Comments

@tomreece
Copy link

tomreece commented Aug 19, 2020

I have almost 13GB worth of .cov files. I am trying to generate an HTML report using the command phpcov merge cov --html=all-html in a 16GB RAM environment. Specifically, I'm using CodeBuild in AWS.

Eventually I run out of memory and the generation fails. Is there a way for me to improve memory utilization? Or am I just dealing with too many .cov files?

@svemir
Copy link

svemir commented Dec 15, 2022

For a while we were able to avoid this issue by splitting our test suite into more threads and increasing the amount of ram we allow for phpunit and phpcov to use. At this point we have 8 .cov files totaling over 5 gigs and we have to find a different solution. The latest version of phpcov wants more than 3 Gb to process that (previous version was able to do the same job with a 2 Gb memory limit.)

@GlucNAc
Copy link

GlucNAc commented Nov 23, 2023

I also have a memory issue with 4 408 .cov files (2,02 Go). Would it be a way to overcome this by merging a limited set of files, and then merging the resulting files, and so on recursively until only one file left?

@atepam
Copy link

atepam commented Aug 22, 2024

Hi, I have the same memory issue for html format. (with 21 .cov files, sum 27M, ~700K each)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants