Skip Menu |
 

This queue is for tickets about the Plucene CPAN distribution.

Report information
The Basics
Id: 48689
Status: new
Priority: 0/
Queue: Plucene

People
Owner: Nobody in particular
Requestors: cakatz [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.25
Fixed in: (no value)



Subject: memory leak in Plucene::Search::BooleanScorer
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1250187028-26882-315"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 518
Download (untitled) / with headers
text/plain 518b
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
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1250187028-26882-314"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: application/octet-stream; name="patch"
Content-Disposition: inline; filename="patch"
Content-Transfer-Encoding: base64
Content-Length: 725
Download patch
application/octet-stream 725b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.