Unable to generate lcov test coverage reports (Out of memory error)

Ayush Tomar ayushtomar at gmail.com
Mon Mar 14 03:24:51 GMT 2016


Thanks for your help. I was using version 1.19 of lcov. Getting version
1.11 fixed the issue.

On Sun, Mar 13, 2016 at 7:31 PM, Olly Betts <olly at survex.com> wrote:

> 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).
>
> Cheers,
>     Olly
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20160313/23925452/attachment.html>


More information about the Xapian-devel mailing list