From: "Mauricio Fernández" Date: 2004-03-25T01:54:43+09:00 Subject: Re: Tempfile consuming a lot of memory On Thu, Mar 25, 2004 at 12:43:15AM +0900, Lothar Scholz wrote: > TS> temps = [] > TS> 1000.times { > TS> |i| > TS> t = Tempfile.new("blah#{i}.txt", ".") > TS> t.puts "hello world" > TS> t.close > TS> temps << t > TS> } > > TS> puts "Done" > TS> gets > > Have you tried the same under Linux ? > Maybe this can give us a clue what is wrong. > It takes 330MB on my system. ruby 1.8.1 (2003-12-25) [i686-linux] -- Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com All the existing 2.0.x kernels are to buggy for 2.1.x to be the main goal. -- Alan Cox