Devel :: HTML Report Cover
I have a test suite with over 200+ selenium test cases, where in each I am capturing the coverage using Devel :: Cover. After running all the test cases, when I try to generate an HTML report using "cover_db -report html", the process is killed after it consumes almost 16GB of memory with an in-memory error. Any idea how to solve this? Any help would be great
source to share
Each coverage run can generate quite a lot of data, and the runs must be merged to generate the final report. I suspect this is part of a process that is consuming memory.
It is very likely that this process is using more memory than necessary.
It is also possible that it is an html report that is using memory. You can try using a text report to see if this is better.
If you know that some runs probably don't affect coverage, you can also reduce the number of selenium tests performed.
You should also make sure that you are only collecting coverage for the modules you are interested in.
source to share