I've written a little while loop program in ruby and I can see the RAM it use is visibly growing after each loop !
So I trayed to :
GC.Start
at the end of the loop but it has no effectsSo is there any equivalent of PHP's "get_defined_vars
" function in Ruby in order to view wich make my used memory growing like that ?
Kernel.local_variables
seems to be the closest match