In ruby, is there a portable way to measure memory usage?  Any
of these would be useful:

- peak
- average
- current
- any of the above for just the memory that GC maintains

It would be nice if Benchmark did this if there was a portable
way.  Many times there is a tradeoff between runtime and memory
usage and it would be good to see this easily.



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com