[MacRuby-devel] [MacRuby] #408: leaked Tempfile don't get cleaned up

MacRuby ruby-noreply at macosforge.org
Wed Oct 28 16:09:42 PDT 2009


#408: leaked Tempfile don't get cleaned up
---------------------------------+------------------------------------------
 Reporter:  neeracher@…          |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  minor                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------
 macruby -e 'require "tempfile"; (0..1000).each {|i| p Tempfile.new("x")}'
 --------------
 fails after a few 100 files. Interestingly, this problem does not affect
 File:
 --------------
 macruby -e '(0..1000).each {|i| p File.new("x", "w")}'
 --------------
 ruby 1.8 runs both programs successfully. I have no 1.9 mainline install
 to test against.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/408>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list