Unable to generate lcov test coverage reports (Out of memory error)
olly at survex.com
Sun Mar 13 23:31:35 GMT 2016
On Sat, Mar 12, 2016 at 08:15:35PM -0500, Ayush Tomar wrote:
> I was trying to generate lcov test coverage reports for xapian-core but got
> an out of memory error:
> $ lcov --capture --directory . --output-file xapian-core.info
> Capturing coverage data from .
> Found gcov version: 4.7.3
> Scanning . for .gcda files ...
> Found 270 data files in .
> Processing bin/xapian-progsrv.gcda
> Out of memory!
What version of lcov are you using? 1.11 has some fixes I submitted
which significantly reduce memory usage (without these, I couldn't
run lcov on Xapian's testsuite on a VM with 1GB of RAM - with them
it worked fine).
More information about the Xapian-devel