From: ara howard Date: 2008-01-09T12:23:23+09:00 Subject: why does this code leak? cfp2:~ > cat a.rb #! /usr/bin/env ruby require 'net/http' 3.times do Net::HTTP.start('www.google.com') do |http| http_response = http.get '/' end p ObjectSpace.each_object(Net::HTTPResponse){} end cfp2:~ > ruby a.rb 1 2 3 why is this leaking Net::HTTPResponse objects? a @ http://codeforpeople.com/ -- share your knowledge. it's a way to achieve immortality. h.h. the 14th dalai lama