From: Rainer Perl Date: 2001-04-27T21:10:09+09:00 Subject: [ruby-talk:14314] Q: how to track memory-usage? Hello, I've seen the following in a post about GDBM memory-leaks: --snip-- irb> load "leak.rb" irb> L=Leak.new 15.9M irb> L.in 33.0M irb> 10.times{L.in} 37.8M irb> 10.times{L.in} 38.8M irb> L.out 115M irb> 10.times{L.out} 980M --snip-- To me, this looks like someone got irb to display memory-usage (and a second post about a possible leak in the mysql-module suggests that too). However, I did not find anything like that. Could someone please tell me how this works? #-) Is there any other neat way to track memory-usage? I need to test my extension for leaks. Best regards, Rainer