Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Regex replace leaking memory.

by swl (Priest)
on Aug 25, 2020 at 06:30 UTC ( #11121069=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex replace leaking memory.
in thread Regex replace leaking memory.

Thanks for the update.

I also cannot reproduce on Centos 7.8.2003:

This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-li +nux

One difference between yours and mine is that yours are all multithreaded, with the failing ones being gnu-thread-multi. I don't know if that has any relevance, but hopefully others can comment on that.

Update:

I also tested under an Ubuntu version 18 with the system perl, version 5.26.1 x86_64-linux-gnu-thread-multi, and could not reproduce.

Replies are listed 'Best First'.
Re^4: Regex replace leaking memory.
by swl (Priest) on Aug 25, 2020 at 07:03 UTC

    I should also note that in all my cases I have been using Devel::Leak from CPAN.

    If I use the libdevel-leak-perl package with the system perl under Ubuntu 18, then I can reproduce the problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11121069]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2020-10-31 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (286 votes). Check out past polls.

    Notices?