From: Eric Mahurin Date: 2005-09-24T04:17:48+09:00 Subject: Re: memory measurements --- Chris McGrath wrote: > On 9/23/05, Eric Mahurin wrote: > > --- Stephen Kellett wrote: > ...snipped... > > I don't care about graphs and such. Just a method (or > several) > > in GC/ObjectSpace to get some memory info. If the above > did > > what I'm thinking about (walk through each > > object/stack/symbol-table/etc and add up the memory used), > it > > would be portable, but you said it is windows only. Also, > I > > couldn't find any download link. > > You might find > http://rubyforge.org/snippet/detail.php?type=snippet&id=70 > does some of what you want. It looks to gauge memory usage by counting objects. Far from accurate. And then it uses the same non-portable (linux only) method I've been using to get the real answer: /proc//status. ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/