julsford has asked for the wisdom of the Perl Monks concerning the following question:
Monks ~
I've hit on one of those wonderful issues that you can only learn when it's too late -- when using LWP::UserAgent to validate the existance of a file before creating a link to it, it will read the entire file into memory. When the files are huge, they are running me out of system memory.
I've attempted to set the following:
Juls
I don't appear to be having any success. Advice would be appreciated.my $ua = LWP::UserAgent->new(env_proxy =>1, max_size => 100, );
Juls
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: LWP::UserAgent and HUGE FILES
by cacharbe (Curate) on Apr 29, 2003 at 18:10 UTC | |
Re: LWP::UserAgent and HUGE FILES
by bart (Canon) on Apr 29, 2003 at 19:27 UTC | |
Re: LWP::UserAgent and HUGE FILES
by shotgunefx (Parson) on Apr 29, 2003 at 18:39 UTC | |
Re: LWP::UserAgent and HUGE FILES
by BrowserUk (Patriarch) on Apr 29, 2003 at 18:54 UTC | |
Re: LWP::UserAgent and HUGE FILES
by Aristotle (Chancellor) on Apr 30, 2003 at 13:43 UTC |
Back to
Seekers of Perl Wisdom