<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>To see the impact of the memory leak.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Run broken.pl first which will run formbuilder against your installed version.</DIV><DIV>It will create a new formbuilder instance over and over, watch top -o size as it grows to 100-200 megs in just a few seconds.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Now run fixed.pl  - works great don't it? No memory leaks what so ever.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have also included a CatTest catalyst project which uses C::C::FormBuilder. With everything patched up the process stays at ~14 megs while being hammered by ab -n 900 -c 100 <A href="http://localhost:3000">http://localhost:3000</A>/. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So the question is am I the only one using formbuilder? This leak was very obvious. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>All tests pass for both projects.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://temp.fabulously40.com/~victori/">http://temp.fabulously40.com/~victori/</A><FONT class="Apple-style-span" face="Lucida Grande">CGI-FormBuilder-3.05-memfix.tbz</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-victor</DIV><BR></BODY></HTML>