Ticket #1465 (closed bug: fixed)
Parrot GC leaks memory for basic programs
Reported by: | pmichaud | Owned by: | dukeleto |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | GC | Version: | 2.1.0 |
Severity: | high | Keywords: | |
Cc: | Language: | perl6 | |
Patch status: | Platform: |
Description
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.
Pm
Change History
Note: See
TracTickets for help on using
tickets.