Hi,

I ran the codestriker (http://codestriker.sourceforge.net/) test set
using Devel::Cover. The test cases ran over a day and a half
and generated a cover_db directory that is 127 megs. Attempting to run
the cover command keeps using up all of the available memory causing
cover to be killed by the OS. I have my swap file up to 1 gig, and after
two days of the computer swapping its brains out, it still was not
enough memory. 

How much memory is need for cover to process a 126 meg cover_db?
Are there any switches or other tricks I could do to reduce the memory
consumption of cover?

If somebody is willing to work on the problem, I can zip up the
directory and send it too them for testing. 

I am using cover 0.51, on Debian 3.0. Perl is version 5.6.1.

Otherwise it did seem to work ok on my previous smaller test runs.

Lastly, some documentation on how to use with with a normal cgi script
would be helpful. The way I finally got it to work was to rename
codestriker.pl (the main cgi perl script), to codestriker_test.pl. 
Write a new codestriker.pl that just does a system call with the 
Devel::Cover switch. Perl would not let me add it to the 
#!/usr/bin/perl line at the start of the script. I would be interested 
in knowing if a cleaner way is possible, as this is kind of lame.

Thanks
Jason.

Reply via email to