develooper Front page | perl.perl5.porters | Postings from February 2015

[perl #123786] 'use utf8;' leaks memory

Thread Previous
From:
David Romano
Date:
February 10, 2015 21:41
Subject:
[perl #123786] 'use utf8;' leaks memory
Message ID:
rt-4.0.18-31183-1423591498-1410.123786-75-0@perl.org
# New Ticket Created by  David Romano 
# Please include the string:  [perl #123786]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123786 >


valgrind reports a small memory leak when 'use utf8;' is used in perl 5.20.0, the latest patch release candidate for perl 5.20 (5.20.2-RC1), and the latest development release (5.21.8). The leak is greater when using all optional features (-E). The attached file, leak.pl, can be used to test different versions of perl. I used something similar to leak.pl on blead at the end of last week and no leak was reported.
Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About