Skip to content

Instantly share code, notes, and snippets.

@phiggins
Created May 17, 2010 23:23
Show Gist options
  • Save phiggins/404369 to your computer and use it in GitHub Desktop.
Save phiggins/404369 to your computer and use it in GitHub Desktop.
require 'net/http'
require 'uri'
puts 'before' ; gets
Net::HTTP.get_response( URI("http://google.com") )
puts 'after' ; gets
GC.start
puts "after GC" ; gets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment