From: noreply@... Date: 2007-01-17T03:27:35+09:00 Subject: [ ruby-Bugs-7896 ] memory leak of callcc, at specific situation. Bugs item #7896, was opened at 2007-01-16 18:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7896&group_id=426 Category: Core Group: 1.8.5 Status: Open Resolution: None Priority: 3 Submitted By: Park Ji In (mithrandir) Assigned to: Nobody (None) Summary: memory leak of callcc, at specific situation. Initial Comment: while true @x = proc {|c| c} end is OK. while true x = callcc {|c| c} end is OK, too. but, while true @x = callcc {|c| c} end consume whole my memory. I traced this from Generator. when I make some generator object, it doesnt free it's memory. while true g = Generator.new {|x| (1..3).each {|i| x.yield i}} end Of course, I found http://rubyforge.org/tracker/?group_id=426&atid=1698&func=detail&aid=1364 However, this code still consume memory. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7896&group_id=426