<p>Killing the processs while obtaining this information would be fine.</p>

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.