Thanks very much to the useful advice I had from the two lists, here's the
current situation + code.
Having spent most of yesterday in debugging mode it looks like the culprit
is the MIME::Entity object.
This Object ($entity) is NOT being destroyed when it goes out of scope,
however I could not f
This is a good resource if you haven't checked this already:
http://www.perl.com/pub/doc/manual/html/pod/perldebug.html#Debugging_Perl_me
mory_usage
Also, if this is a daemon, there is a trick that many daemons use to make
sure any memory leaks do not eventually fill up all available memory: they