If you are running XWindows, this is what I use (probably works on Windows).
linux memory leak monitor Save the MeM.pm file to somewhere in your Perl5Lib, and just put "use MeM;" at the top of your script. It will open a little window in the bottom screen corner( you can adjust it's location) and will update every second.
And here is one using Gtk2 GMeM -- a Gtk2 memory monitor utility