>>>>> "M" == Michael Davis <mdavis / sevainc.com> writes:

M> The method eats memory for as long as it runs.  When it completes all 
M> memory is returned.

 The testing is done *before* it return, i.e.

   system("ps aux | head -1")
   testing(100)
   system("ps aux | grep b.rb | grep -v grep")

 You can change this test, if you want and look at it

M>       system("ps aux | grep b.rb | grep -v grep") if i == 1
                                                     ^^^^^^^^^
M>       test


Guy Decoux