Skip to content

Instantly share code, notes, and snippets.

@wycats
Created July 21, 2008 01:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save wycats/39 to your computer and use it in GitHub Desktop.
Save wycats/39 to your computer and use it in GitHub Desktop.
require "rubygems"
require "rake"
puts `ps -orss -p#{Process.pid}`
# Result
# RSS
# 6564
$:.push "gems/gems/rake-0.8.1/lib"
require "rake"
puts `ps -orss -p#{Process.pid}`
# Result
# RSS
# 2416
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment