Skip Menu |

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

Report information
The Basics
Id: 1245
Status: new
Priority: 0/
Queue: WWW-Automate

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: Running tests eats MUCH memory
We've got a test script that ran for a while, and it decided to eat up all the memory on the machine before too long. It seems to me that the problem is in push_page_stack: sub push_page_stack { my $self = shift; $self->{page_stack} = [ @{$self->{page_stack}}, clone($self)]; return 1; } When we changed that line to push( @{$self->{page_stack}}, clone($self) ); all the memory problems seemed to go away. Not sure if that breaks other functionality, though.
This is fixed in WWW::Mechanize 0.30.