in reply to Perl Memory problem ...
Need to see what you're doing. You don't need to release memory to the OS if you've scoped things properly. Another suggestion, don't import everything in your use statements. Idk what you did here, but I can image a list of imported modules a mile long. That or you used Moose or Moo and still included the kitchen sink.