From: Wes Gamble Date: 2007-03-06T16:40:37+09:00 Subject: Best way to determine the memory footprint of an object I'd like to be able to estimate how much memory a given object requires. What is the best/easiest way to do this? One thing that occurred to me was the Marshal.dump the object to a file and look at that, although looking at a textual representation of the object could be significantly larger (I think). Any advice is appreciated. Thanks, Wes -- Posted via http://www.ruby-forum.com/.