<div dir="ltr">Hi all,<div><br></div><div>I was trying to generate lcov test coverage reports for xapian-core but got an out of memory error:</div><div><br></div><div><div>$ lcov --capture --directory . --output-file <a href="http://xapian-core.info">xapian-core.info</a></div><div>Capturing coverage data from .</div><div>Found gcov version: 4.7.3</div><div>Scanning . for .gcda files ...</div><div>Found 270 data files in .</div><div>Processing bin/xapian-progsrv.gcda</div><div>Out of memory!</div></div><div><br></div><div>These are the steps I followed in xapian-core directory **(<a href="http://lcov.xapian.org" target="_blank">lcov.xapian.org</a> is down so I referred to xapian-core/HACKING and some online resources for these steps):</div><div><br></div><div>$ ./configure CXXFLAGS='-g -O0 --coverage' CFLAGS='-g -O0 --coverage'</div><div>$ make check</div><div>$ lcov --capture --directory . --output-file <a href="http://xapian-core.info">xapian-core.info</a></div><div><br></div><div>which rendered the error mentioned above. </div><div><br></div><div>I did make sure that gcc and gcov have same versions. Can someone please help me out? (I am generating these tests reports for getting familiar with writing tests for use in Letor stabilization project for gsoc)</div><div><br></div><div>Regards,</div><div>Ayush</div><div><br></div><div><br></div></div>