in reply to Looking for Leaks

I must have missed something, MeowChow;

Are you looking for a way to monitor your system within the script to make sure it isn't gobbling up too much memory?

Or are you looking for a tool that will help you identify where the leak is occuring within the script?