When would you use this garbage collection method in your Ruby program(s)?
GC.start
Real life example:
When testing a JSON streamer I want to make sure that the memory consumption remains low. Therefore I need to run GC.start before test cases or else they become unpredictable and can even produce false positives.