On Mon Dec 01 2008 @ 12:04, Chas. Owens wrote:
> On Mon, Dec 1, 2008 at 08:23, Jeff Pang <[EMAIL PROTECTED]> wrote:
> >  > Message du 01/12/08 11:38
> >> De : "howa"
> >> A : [email protected]
> >> Copie à :
> >> Objet : How to make two perl work together?
> >>
> >>
> >> Hello,
> >>
> >> I have one perl (5.10) installed by my Ubuntu 8.10, as this version of
> >> Perl has
> >> memory leak issue with regex, so I compile another one into /opt/
> >> perl5.8.9.
> >>
> >
> >
> > Oh really? I have used perl 5.10 for quite a while, didn't meet this 
> > problem.
> 
> It looks like there is an issue in the compilation of regexes that leaks 
> memory:
> 
> perl -le 'qr// while 1'
> 
> There does seem to be a fix*.
> 
> * http://www.gossamer-threads.com/lists/perl/porters/232045

The memory leak has been patched in Debian, so it *should* be patched in
Ubuntu as well, I would think.

http://packages.debian.org/changelogs/pool/main/p/perl/current/changelog#versionversion5.10.0-17

I can confirm that the memory leak is gone, because on my home Debian
machine, there's no problem, but my Mac at work (where 5.10.0 is my own
version), the memory leak still appears under the same conditions.

Hope this helps, T

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to