<div dir="ltr">Thanks for your help. I was using version 1.19 of lcov. Getting version 1.11 fixed the issue.<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 13, 2016 at 7:31 PM, Olly Betts <span dir="ltr"><<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Mar 12, 2016 at 08:15:35PM -0500, Ayush Tomar wrote:<br>
> I was trying to generate lcov test coverage reports for xapian-core but got<br>
> an out of memory error:<br>
><br>
> $ lcov --capture --directory . --output-file <a href="http://xapian-core.info" rel="noreferrer" target="_blank">xapian-core.info</a><br>
> Capturing coverage data from .<br>
> Found gcov version: 4.7.3<br>
> Scanning . for .gcda files ...<br>
> Found 270 data files in .<br>
> Processing bin/xapian-progsrv.gcda<br>
> Out of memory!<br>
<br>
</span>What version of lcov are you using? 1.11 has some fixes I submitted<br>
which significantly reduce memory usage (without these, I couldn't<br>
run lcov on Xapian's testsuite on a VM with 1GB of RAM - with them<br>
it worked fine).<br>
<br>
Cheers,<br>
Olly<br>
</blockquote></div><br>
</div></div>