From: ts Date: 2004-02-27T01:52:15+09:00 Subject: Re: Need some thread help >>>>> "M" == Mike Wilson writes: M> threads = [] M> check_status = proc { M> $labels.each_key do |aHost| M> threads << Thread.new(aHost) do |host| [...] M> Now, the "threads.each do |t| t.join end" currently doesn't work (probably M> obvious). I know this because the memory stack size increases with every M> loop Thread#join work, but you never remove the object from the Array threads, this is why the memory increase. More you have loop, more `threads' will have object Guy Decoux