more useful options | |
PerlMonks |
Archive::Extract - Out of Memoryby cmilfo (Hermit) |
on Nov 14, 2011 at 20:25 UTC ( [id://938018]=perlquestion: print w/replies, xml ) | Need Help?? |
cmilfo has asked for the wisdom of the Perl Monks concerning the following question: Before I open a ticket for Archive::Extract, I was wondering if anyone could double-check me. When using Archive::Extract to extract large gzipped files (.gz), I'm receiving an "Out of Memory" error. (Note: I'm setting $Archive::Extract::PREFER_BIN to 1 to prefer using system binaries.) Example code:
Looking at the module, it looks as if it runs gzip with '-c' (write to STDOUT) and captures the output in a buffer. The buffer is then written to a filehandle. Here's where I need the double-check.
As far as I can tell, it's not happening with the other methods of compression. It looks like gzipped files are the only ones handled this way.
Thank you!
Back to
Seekers of Perl Wisdom
|
|