I already replied to Brad offlist, but figured I should also post to the list so
that the archive shows my test results.
I can't find a memleak in SWISH::API::Stat (or SWISH::API::More) and I think the
Apache::Leak test is a red herring, similar to that reported here:
Here's my test script. I see no mem increase via ps or top:
# note: the search index contains the word 'foo'
for (1 .. 100000)
my $swish = SWISH::API::Stat->new;
my $search = $swish->search('foo');
my $results = $search->execute;
while (my $r = $results->next_result)
Brad Miele scribbled on 11/7/06 4:00 PM:
> after our discussion yesterday, i started to test my modperl stuff to look
> for memory leaks. While i found none when running my code with SWISH::API,
> i consistently got 2 when running with SWISH::API::Stat, now this doesn't
> obviously help my issues of growing apache procs, which i will continue to
> dig for, but i thought you should know in case there was some sort of
> issue with SAS.
> here is the Apache::Leak STDERR with apache in -X...
> without SAS:
> with SAS:
> looks like we just found some leaks in the handler of the module, so we
> are looking at those... yay.
> Brad Miele
> VP Technology
> 866 476 7862 x902
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Sun Nov 12 14:16:04 2006