From: nobu.nokada@... Date: 2004-03-24T07:47:13+09:00 Subject: Re: Tempfile consuming a lot of memory Hi, At Wed, 24 Mar 2004 04:10:41 +0900, Yukihiro Matsumoto wrote in [ruby-talk:95653]: > |I'm using a lot of Tempfile's and I have been made aware that they > |consume a lot of memory. > > Tempfile allocates far lot more objects internally than plain File > objects. If you allow garbage collection for these tempfile objects, > its consumption stays moderate. Can you remove "temps" variable from > your example? lib/tempfile.rb:1.20 looks like a commit miss, doesn't it? [ruby-core:02684] -- Nobu Nakada