|
Hi all,
I realized my mechanize agent was hogging up all my memory. I am trying to set the stack_depth to a low value.
my $cookie = HTTP::Cookies->new(file => 'cookie',autosave => 1,);
my $agent = WWW::Mechanize->new(cookie_jar=>$cookie,autocheck=>1,stack_depth=>1,);
$agent->timeout(50);
It grabs one page, and then gives me a segmentation fault. Any help appreciated.
Thanks
George
|