Perl uses reference counting for GC, and it\'s quite easy to make a circular reference by accident. I see that my program seems to be using more and more memory, and it will
In addition to the other comments, you may find my Perl Memory Use talk at LPW2013 useful. I'd recommend watching the screencast as it explains the slides and has some cute visuals and some Q&A at the end.
I'd also suggest looking at Paul Evans Devel::MAT module which I mention in the talk.