--- Chris McGrath <c.r.mcgrath / gmail.com> wrote:

> On 9/23/05, Eric Mahurin <eric_mahurin / yahoo.com> wrote:
> > --- Stephen Kellett <snail / objmedia.demon.co.uk> 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/<pid>/status.




	
		
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/