Perlbal - Patch: Fix a horrible memory leak in the stats plugin

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > July 2007 > Patch: Fix a horrible memory leak in the stats plugin





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Patch: Fix a horrible memory leak in the stats plugin
Jonty

2007-07-26, 1:12 pm

Hi all,

Reading the source for the Stats plugin the other day I noticed a
fairly severe memory leak - the attached one line patch fixes this and
seems to have resolved the OOM issues we were having with perlbal.

Thanks,
Jonty Wareing

--
Developer
Last.fm

Ask Bjørn Hansen

2007-07-26, 7:11 pm


Beautiful. I was just about to make our perlbal run with
Devel::GC::Helper to find this. :-)

--
http://develooper.com

On Jul 26, 2007, at 11:11 AM, Jonty <jonty.wareing@gmail.com> wrote:

> Hi all,
>
> Reading the source for the Stats plugin the other day I noticed a
> fairly severe memory leak - the attached one line patch fixes this and
> seems to have resolved the OOM issues we were having with perlbal.
>
> Thanks,
> Jonty Wareing
>
> --
> Developer
> Last.fm
> <perlbal_stats_memleak_patch.diff>


Brad Fitzpatrick

2007-07-28, 1:11 pm

Jonty,

Thanks! Mark checked this in for you... will be in the next release.

- Brad


On Thu, 26 Jul 2007, Jonty wrote:

> Hi all,
>
> Reading the source for the Stats plugin the other day I noticed a
> fairly severe memory leak - the attached one line patch fixes this and
> seems to have resolved the OOM issues we were having with perlbal.
>
> Thanks,
> Jonty Wareing
>
> --
> Developer
> Last.fm
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com