Project

General

Profile

Bug #10686

Memory leaking from torture test of symbol GC

Added by headius (Charles Nutter) almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:67268]

Description

The following code appears to grow without bounds when running on MRI 2.2p0 (and grows very fast...hold on to your RAM):

x = 0; loop { (x += 1).to_s.to_sym }

I asked ko1 about this on Twitter and he said it appears to be leaking strings somewhere.


Files

test_symbol.patch (610 Bytes) test_symbol.patch ReiOdaira (Rei Odaira), 09/27/2015 05:40 AM

Also available in: Atom PDF