From: Peter Zotov Date: 2009-03-27T03:57:41+09:00 Subject: Re: How to monitor memory consumed by a method ? Quoting Paganoni : > Hello, I've written a library that handle csv conversion... > Files are big, themselves related and the conversion rules needs > several hashes. > Those data will grow up month after month, so I would like to know > how many memory this import method can consume. > > The only idea I had is launching the linux utility pmap before and > after the method. > > Is there any other solution ? Try doing GC.disable before calling method and then ps aux, for example. I think this is simplier. WBR, Peter Zotov