-
-
Save anonymous/f21f1e4881e078338611 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-1.9.3-p0 :001 > obj = {:hello => "world"} | |
=> {:hello=>"world"} | |
ruby-1.9.3-p0 :005 > require 'objspace' | |
=> true | |
ruby-1.9.3-p0 :006 > ObjectSpace.memsize_of(obj) | |
=> 184 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment