You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason behind this behavior is that a bigint takes only very little space in the nursery, but it can hold on to a gigantic buffer. This was fixed by reducing the nursery limit by the size of the bigint buffer when they are created, triggering garbage collection earlier.
`/usr/bin/time ./install/bin/perl6-m -e 'my ($x,$y,$i) = (0,1,1); while ($i < 1000000) {$y += $x ; $x = $y - $x ; $i += 1 } ; say $y;'` now reports 124MB instead of 6GB.
Migrated from rt.perl.org#126450 (status was 'resolved')
Searchable as RT126450$
The text was updated successfully, but these errors were encountered: