Subject: | Leaks memory on 5.16.* (5.14 and 5.18 are ok) |
The following simple program self-reports a memory leak on freshly brewed 5.16.*:
use Devel::Gladiator;
for (1..5000) {
# commenting this line out stops the leak
my $rc = Devel::Gladiator::arena_ref_counts;
warn ( do { local (@ARGV, $/, $.) = "/proc/$$/status"; <> } =~ /(VmSize.+)/ )
unless $_ % 1000;
}
Attached is the output of several runs
Subject: | dg_argh.txt |
rabbit@Ahasver:~$ for f in 14.3 14.4 16.0 16.1 16.2 16.3 18.0 18.1 ; do perlbrew exec --with 5.${f}_dg bash -c 'cpanm Devel::Gladiator; perl ~/dg_count' ; done
5.14.3_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
5.14.4_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
VmSize: 21572 kB at /home/rabbit/dg_count line 6.
5.16.0_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21936 kB at /home/rabbit/dg_count line 6.
VmSize: 22436 kB at /home/rabbit/dg_count line 6.
VmSize: 22868 kB at /home/rabbit/dg_count line 6.
VmSize: 23300 kB at /home/rabbit/dg_count line 6.
VmSize: 23732 kB at /home/rabbit/dg_count line 6.
5.16.1_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21936 kB at /home/rabbit/dg_count line 6.
VmSize: 22436 kB at /home/rabbit/dg_count line 6.
VmSize: 22868 kB at /home/rabbit/dg_count line 6.
VmSize: 23300 kB at /home/rabbit/dg_count line 6.
VmSize: 23732 kB at /home/rabbit/dg_count line 6.
5.16.2_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21940 kB at /home/rabbit/dg_count line 6.
VmSize: 22440 kB at /home/rabbit/dg_count line 6.
VmSize: 22872 kB at /home/rabbit/dg_count line 6.
VmSize: 23304 kB at /home/rabbit/dg_count line 6.
VmSize: 23736 kB at /home/rabbit/dg_count line 6.
5.16.3_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21940 kB at /home/rabbit/dg_count line 6.
VmSize: 22440 kB at /home/rabbit/dg_count line 6.
VmSize: 22872 kB at /home/rabbit/dg_count line 6.
VmSize: 23304 kB at /home/rabbit/dg_count line 6.
VmSize: 23736 kB at /home/rabbit/dg_count line 6.
5.18.0_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
5.18.1_dg
==========
Devel::Gladiator is up to date. (0.07)
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.
VmSize: 21808 kB at /home/rabbit/dg_count line 6.