Hey, I'm using CLucene 0.9.21 on a project and I think I've stumbled across a
memory leak. Specifically it seems that the function:
Void IndexSearcher::_search(Query* query, Filter* filter, HitCollector *results)
In IndexSearcher.cpp is leaking a TermQuery in the call to query->weight(this)
on line 310. To create the weight the function:
Query* TermQuery::clone() const
Is being called which returns a new pointer, and it doesn't appear to be
getting deleted anywhere.
My question is, is there an easy way to fix this? I'd rather not update to
2.3.2 right now which I'm assuming fixes this issue.
Thanks,
-Niki Yoshiuchi
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers