[Xapian-tickets] [Xapian] #647: memory leak patch
Xapian
nobody at xapian.org
Fri Jun 27 11:09:59 BST 2014
#647: memory leak patch
-----------------------------+---------------------------
Reporter: dk | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings | Version: 1.2.15
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-----------------------------+---------------------------
\
\
\
\
\
\
Comment (by dk):
Yes actually, but it was written for a local database, and it runs in an
infinite loop while memory was observed in top. I don't have a good idea
how this could be made in a decent automated test:
use Search::Xapian;
while (1) {
my $db = Search::Xapian::Database->new('/var/local/index');
my $qp = new Search::Xapian::QueryParser($db);
my $valuerangeprocessor =
Search::Xapian::StringValueRangeProcessor->new(1, 'test:', 1);
$qp->add_valuerangeprocessor($valuerangeprocessor);
}
\
\
\
--
Ticket URL: <http://trac.xapian.org/ticket/647#comment:2>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list