Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: IO::Uncompress::Gunzip to scalar takes hours (on windows)

by ig (Vicar)
on May 21, 2013 at 19:37 UTC ( #1034589=note: print w/replies, xml ) Need Help??

in reply to IO::Uncompress::Gunzip to scalar takes hours (on windows)

Running Strawberry Perl v5.16.2 on Windows 7 64bit with 4GB RAM, unzipping a 290MB file took less than 15 seconds.

While your system is running the slow gunzip, is your CPU busy? Is your disk (swap file) busy?

  • Comment on Re: IO::Uncompress::Gunzip to scalar takes hours (on windows)

Replies are listed 'Best First'.
Re^2: IO::Uncompress::Gunzip to scalar takes hours (on windows)
by cmv (Chaplain) on May 21, 2013 at 20:07 UTC
    The CPU is busy, but disk activity and swap is low.

      I would try upgrading perl and/or relevant modules, then the OS to solve or at least isolate the problem.

        I've upgraded to the latest version of IO::Uncompress::Gunzip available on CPAN and continue to see the problem. I'm using 32-bit activestate perl 5.8.9 along with a variety of modules (some rather old) for a production tool.

        The plan is to upgrade to a more recent version of perl and required modules, but the time to do that and get things tested has not been forthcoming. However, I expect this will solve the problem.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034589]
[AnomalousMonk]: LanX: I should have written "vessel". Rama was (is? - I'm still hoping) no asteroid.
[erix]: itym vehicle (vessel is for water-vehicles)
[erix]: then again you may be a native speaker and I'd do better to shut up :)
[AnomalousMonk]: erix: s/vessel/vehicle/

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2017-11-22 17:29 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (327 votes). Check out past polls.