Ticket #1465 (closed bug: fixed)

Opened 12 years ago

Last modified 11 years ago

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:


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'
    $P0 = box 0
    goto loop

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.


Change History

Changed 12 years ago by coke

Reminder: before closing this ticket, we need to create a test that demonstrates the leak.

Changed 12 years ago by coke

Bug fixed by chromatic in r44142; a 2.1.1 release is planned to contain just this bugfix.

Can't close ticket until we have a test.

Changed 12 years ago by dukeleto

  • owner set to dukeleto

Changed 11 years ago by nwellnhof

  • status changed from new to closed
  • resolution set to fixed

Test case in r48579, fix in r48585.

Note: See TracTickets for help on using tickets.