Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 27870
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: jmax [...] gnaa.us
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Setting a sane default stack_depth
Date: Mon, 02 Jul 2007 00:58:33 -0400
To: bug-WWW-Mechanize [...] rt.cpan.org
From: Jmax <jmax [...] gnaa.us>
I think that the stack_depth option of mechanize (which controls the amount of data held in memory regarding previous requests and the state of the mech object after that request) should be set to a value considerably more sane that 0 (infinite). One reason for this is that (on FreeBSD at least), the resulting crashes and error messages caused by the process using up too much memory are rather cryptic, and can lead the developer (or possibly end user) frustrated. I'm sure there are many other reasons. Although I have done no research into a possible value, I can't imagine that any person would need to $mech->back or debug further than the past 10 or 15 requests; 20 at the most. Thanks.
From: PETDANCE [...] cpan.org
Show quoted text
> and error messages caused by the process using up too much memory are > rather cryptic, and can lead the developer (or possibly end user) > frustrated. I'm sure there are many other reasons.
Please submit a Q/A that I can put in the FAQ that describes the problem, so that people know what to do when they get the problem. Thank you.