in reply to Re: Memory leak!
in thread Memory leak!

I took out the line from the full script where the directory names are printed to the a log file:

print LOG "Retrieving data from remote dir: $gftDirName\n";