Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: WWW::Mechanize memory leak???

by Anonymous Monk
on May 09, 2018 at 07:36 UTC ( [id://1214259]=note: print w/replies, xml ) Need Help??


in reply to Re: WWW::Mechanize memory leak???
in thread WWW::Mechanize memory leak???

For future reference: You can set the max. stack depth with $mech->stack_depth(100) now:
=head2 $mech->stack_depth( $max_depth ) Get or set the page stack depth. Use this if you're doing a lot of page scraping and running out of memory. A value of 0 means "no history at all." By default, the max stack depth is humongously large, effectively keeping all history.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1214259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-18 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found