If you just want a general guideline as to how much memory your script is using, in realtime, with a simple little Tk display, see
linux memory leak monitor. It won't be as accurate as
Devel::Size, but its alot easier, all you do is put "use MeM;" at the top of your script, and a little window will open in the lower right corner, showing the second by second memory usage of your script.