From: Masatoshi SEKI Date: 2004-09-26T14:52:01+09:00 Subject: Re: memory leak from Hash#delete/fork/drb?? Hi. On 2004/09/26, at 3:34, Ara.T.Howard wrote: > any idea why this leaks memory? > class JobRunnerDaemon > def wait r > pid, status = Process::waitpid2 r.pid, > Process::WNOHANG|Process::WUNTRACED > @runners.delete pid > [pid, status] > end > end WNOHANG|WUNTRACED? How about this? pid, status = Process:waitpid2(r.pid)