in reply to Archive-Zip memory problems

I do something very similar. I remember early on having a problem that might be the same as yours. Anyway, what I ended up doing is adding: "undef $fh;" at the bottom of the loop to make sure the object was completely cleaned up before moving on to the next one.