rinceWind has asked for the wisdom of the Perl Monks concerning the following question:
I have tried Archive::Zip, and this worked for a small test set. But when it comes to full production size, the process gobbles up more and more memory, as the module is building the archive in memory, until I get failures to add files - the program exits without leaving behind a valid zip archive. Several hours wasted :(.
As an alternative, I could pipe filenames to a command line utility, but I was hoping to do this all in perl.
I know that Archive::TarGzip is capable of reading individual files from an archive without slurping the entire archive into memory. What I am looking for is the equivalent for writing an archive. If there is no archive module that can work on disk rather than all in memory, I might have a go at writing one.
--
I'm Not Just Another Perl Hacker
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Industrial strength archiving
by Eyck (Priest) on Sep 27, 2004 at 15:34 UTC | |
Re: Industrial strength archiving
by meredith (Friar) on Sep 27, 2004 at 15:56 UTC | |
Re: Industrial strength archiving
by zentara (Cardinal) on Sep 27, 2004 at 17:30 UTC | |
Re: Industrial strength archiving
by graff (Chancellor) on Sep 28, 2004 at 02:46 UTC | |
Re: Industrial strength archiving
by xorl (Deacon) on Sep 27, 2004 at 14:56 UTC |