Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Regex replace leaking memory.

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


in reply to Regex replace leaking memory.

I cannot reproduce your issue using Strawberry Perl 5.28.0.

1 new 000000000072a728 :

You might need to provide more details from perl -v (or perhaps perl -V).

Update:

Also cannot reproduce using perl 5.30 using perlbrew under Windows Subsystem for Linux.

perl -v:

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

Replies are listed 'Best First'.
Re^2: Regex replace leaking memory.
by Striker1440 (Sexton) on Aug 25, 2020 at 05:26 UTC
    Edited original message to include distribution and Perl versioning.

      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.

        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://11121067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-10-20 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (209 votes). Check out past polls.

    Notices?