From: Roger Pack Date: 2009-12-16T00:22:03+09:00 Subject: Re: Debug IRB session Robert Gleeson wrote: > Hi, > > Recently IRB has been leaking memory until it consumes all I have > available(8GB). > Is there anything I can do to debug the problem so I can file a bug > report & hopefully fix the issue? http://timetobleed.com/memprof-a-ruby-level-memory-profiler/ valgrind come to mind. Unfortunately that's for 1.8.7 only. I could hack you up a version of 1.9 that has something like GC.each_object{|o| >> o.where_created => [filename, line] } if desired for profiling purposes. -r -- Posted via http://www.ruby-forum.com/.