Ruby 2.1 frozen string DoS? 1000000000000.times { |n| eval "'#{n}'f" }
@charliesome @tenderlove @fuadsaud my original example doesn't GC: http://i.imgur.com/cGGGgWs.png
-
-
@bascule@tenderlove@fuadsaud seems to GC just fine for me :\ -
@charliesome@tenderlove@fuadsaud try this: 1000000000000.times { |n| eval "'#{'X' * 10000000}#{n}'f" } -
@bascule@tenderlove@fuadsaud seems to just be that ruby isn't GCing enough. Sticking a 'GC.start' at the end of the block fixes it for me -
@charliesome@tenderlove@fuadsaud you repoed it without the GC.start though? -
@bascule@tenderlove@fuadsaud might be rgengc related? /cc@_ko1 -
@charliesome@bascule@tenderlove@fuadsaud https://twitter.com/meskyanichi/status/382799006520606720 …This Tweet is unavailable. - End of conversation
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@bascule@tenderlove@fuadsaud ok, that's a bug. Looking into why it isn't GCing.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.