|Date:||Sat, 19 Mar 2005 03:58:54 -0500|
|From:||Rocco Caputo <rcaputo [...] pobox.com>|
|To:||bug-poe [...] rt.cpan.org|
|Subject:||detecting memory leaks, when we have test cases|
describes how to use Proc::ProcessTable to detect a process' current memory usage. It may be fun to move a lot of cross-checking code out of the ASSERT blocks and into actual tests. Likewise, whenever someone finds a memory leak in POE, we should try writing a Proc::ProcessTable test for the regression suite. Skip them if Proc::ProcessTable isn't installed, and don't bother making the module a prerequisite. That way the tests are most likely to run only during development. Wouldn't it be funny if Proc::ProcessTable leaked? HA HA HA HA HAUGH!