I am trying to print out the Garbage Collection behavior. I tried the
but its giving me an error like this:–
runtest.rb:6: undefined method `statistics’ for ObjectSpace:Module
Any suggestion… How can i print the Garbage collector Behavior?