santosh044 has asked for the wisdom of the Perl Monks concerning the following question:

I have test suite with over 200+ selenium test cases where in each I capture the coverage using Devel::Cover. After all the test cases are run, when I try to generate the HTML report using 'cover cover_db -report html' the process is killed after consuming all the memory nearly 16 GB with error out of memory. Any idea how to resolve this? Any help would be great
  • Comment on Devel::Cover HTML report process killed

Replies are listed 'Best First'.
Re: Devel::Cover HTML report process killed
by FreeBeerReekingMonk (Deacon) on Jun 02, 2015 at 18:30 UTC

    I have no clue, but here are some pointers in directions you might look at (Cover Bugs)
     * 36336
     * 67610

    Questions:

    • When you remove the cover_db directory, and run it, does it still crash? (how big is that dir anyway?)
    • Did it work before and it stopped working or are you setting it up?
    • How about running it in chunks (if you have multiple pm's, do you have separate test files, or just one big one?)
    • How about alter default values, and requesting less information?


    Devel::Cover for Dummies