Killing the processs while obtaining this information would be fine.
views:
83answers:
2
+1
A:
A quick-and-dirty way would be ObjectSpace.each_object{|e| p e}
. You could do some tests to determine what you wanted to keep, or Marshal the objects.
Pi
2008-09-22 18:25:41
A:
For the more hardcore there is also BleakHouse which gives you a special custom-compiled copy of ruby with better memory leak tracking powarz
Orion Edwards
2008-09-23 04:01:03
Does bleak house work for others? I tried it and it just dumps core on anything but the most trivial program. This is ruby 1.8.6 on Ubuntu
Tim Martin
2008-09-24 17:51:51