Subject: | memory leak in Plucene::Search::BooleanScorer |
Circular references in Plucene::Search::BooleanScorer cause a memory
leak which makes Plucene unusable in a persistent environment (e.g.
mod_perl).
As reported by Devel::Cycle::find_cycle
Cycle (1):
$Plucene::Search::BooleanScorer::A->{'bucket_table'} =>
\%Plucene::Search::BucketTable::B
$Plucene::Search::BucketTable::B->{'scorer'} =>
\%Plucene::Search::BooleanScorer::A
Possible fix: break the circular references using Object::Destroyer.
Patch for Plucene/Search/BooleanScorer.pm provided.
Subject: | patch |