I am trying to print out the Garbage Collection behavior. I tried the
following code:--

include ObjectSpace
puts ObjectSpace.statistics

but its giving me an error like this:--

runtest.rb:6: undefined method `statistics' for ObjectSpace:Module
(NoMethodError)

Any suggestion.. How can i print the Garbage collector Behavior?

Regards

Tridib

-- 
Posted via http://www.ruby-forum.com/.