Skip Menu |

This queue is for tickets about the Clone CPAN distribution.

Report information
The Basics
Id: 20987
Status: resolved
Priority: 0/
Queue: Clone

People
Owner: rdf [...] cpan.org
Requestors: hpham [...] re-trac.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.20
Fixed in: (no value)



Subject: Severe memory leak
I just thought I should create a bug so other people don't waste time debugging their code for memory leak (took me a while to figure out the problem is with Clone). Someone else has noticed a severe memory leak in this module. He tried to patch this one but lost contact the author; so he has created a new cpan module: Clone::More. This module should not be used any more.
From: RDF [...] cpan.org
How about some code examples or a least a brief explanation of where you saw the memory leak? Do I get at least one shot at fixing the leak? And just for the record I was not contacted with a patch, I was contacted with a request to take over ownership of the Clone module. On Mon Aug 14 13:19:39 2006, hpham wrote: Show quoted text
> I just thought I should create a bug so other people don't waste time > debugging their code for memory leak (took me a while to figure out the > problem is with Clone). > > Someone else has noticed a severe memory leak in this module. He tried > to patch this one but lost contact the author; so he has created a new > cpan module: Clone::More. This module should not be used any more.
From: hpham [...] re-trac.com
Sorry, I thought you weren't maintaining this module anymore. The bug occurs in mod_perl (2.0.2) environment on Apache 2.0.58, Windows XP. Over a thoudsand requests on the same page, it leaks around 10MBs. Our set up is a bit complicated, I will see if I can get a strip down version. Also, even though Clone::More reduces lots of leak, I believe it mysteriously crashes mod_perl (and so Apache) once in a while. On Fri Aug 18 23:16:04 2006, RDF wrote: Show quoted text
> > How about some code examples or a least a brief explanation of where
you Show quoted text
> saw the memory leak? Do I get at least one shot at fixing the leak? > > And just for the record I was not contacted with a patch, I was > contacted with a request to take over ownership of the Clone module.
Hi. I've created experimental patch that should fix at least one leak in Clone module I know about. You can download it from a ticket [*]. Can you test that it works for you? [*] http://rt.cpan.org/Ticket/Display.html?id=27671 [*] http://rt.cpan.org/Ticket/Attachment/328016/150650/clone_memory_leak_draft.patch On Mon Aug 21 11:13:13 2006, hpham wrote: Show quoted text
> Sorry, I thought you weren't maintaining this module anymore. The bug > occurs in mod_perl (2.0.2) environment on Apache 2.0.58, Windows XP. > Over a thoudsand requests on the same page, it leaks around 10MBs. Our > set up is a bit complicated, I will see if I can get a strip down > version. > > Also, even though Clone::More reduces lots of leak, I believe it > mysteriously crashes mod_perl (and so Apache) once in a while. > > On Fri Aug 18 23:16:04 2006, RDF wrote:
> > > > How about some code examples or a least a brief explanation of where
> you
> > saw the memory leak? Do I get at least one shot at fixing the leak? > > > > And just for the record I was not contacted with a patch, I was > > contacted with a request to take over ownership of the Clone module.
-- Best regards, Ruslan.
Subject: RE: [rt.cpan.org #20987] Severe memory leak
Date: Sat, 30 Jun 2007 19:53:28 -0700
To: bug-Clone [...] rt.cpan.org
From: "Ray Finch" <finchray [...] nventure.com>
Hi Ruslan, I did test that your patch fixes the leak. I'm on vacation right now, I'll try to get a new version uploaded sometime next week after I get home. Ray Finch finchray@nventure.com Show quoted text
>------- Original Message ------- >From : Ruslan Zakirov via
RT[mailto:bug-Clone@rt.cpan.org] Show quoted text
>Sent : 6/26/2007 1:35:32 PM >To : >Cc : >Subject : RE: [rt.cpan.org #20987] Severe memory leak > >
Queue: Clone Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20987 > Hi. I've created experimental patch that should fix at least one leak in Clone module I know about. You can download it from a ticket [*]. Can you test that it works for you? [*] http://rt.cpan.org/Ticket/Display.html?id=27671 [*] http://rt.cpan.org/Ticket/Attachment/328016/150650/clone_memory_leak_draft.patch On Mon Aug 21 11:13:13 2006, hpham wrote: Show quoted text
> Sorry, I thought you weren't maintaining this
module anymore. The bug Show quoted text
> occurs in mod_perl (2.0.2) environment on Apache
2.0.58, Windows XP. Show quoted text
> Over a thoudsand requests on the same page, it
leaks around 10MBs. Our Show quoted text
> set up is a bit complicated, I will see if I can
get a strip down Show quoted text
> version. > > Also, even though Clone::More reduces lots of leak,
I believe it Show quoted text
> mysteriously crashes mod_perl (and so Apache) once
in a while. Show quoted text
> > On Fri Aug 18 23:16:04 2006, RDF wrote:
> > > > How about some code examples or a least a brief
explanation of where Show quoted text
> you
> > saw the memory leak? Do I get at least one shot
at fixing the leak? Show quoted text
> > > > And just for the record I was not contacted with
a patch, I was Show quoted text
> > contacted with a request to take over ownership
of the Clone module. -- Best regards, Ruslan.
Several memory leaks have been fixed in the past couple of releases.