Ticket #1465 (closed bug: fixed)
Parrot GC leaks memory for basic programs
|Reported by:||pmichaud||Owned by:||dukeleto|
In Rakudo we've noticed that long-running programs seem to be leaking memory in 2.1.0 and later, and have tracked it down to some simple programs that demonstrate the leak. The simplest version is
.sub 'main' loop: $P0 = box 0 goto loop .end
This appears to consume memory without bound until it is terminated. The leak appears both in the 2.1.0 release and in current trunk (r44134). Notably, 2.0.0 doesn't appear to have a leak.