cwchang has asked for the wisdom of the Perl Monks concerning the following question:
This script will show that the size of the agent object keeps growing fast. Same can be verified using "top".#!/usr/bin/perl use WWW::Mechanize; use Devel::Size qw(size total_size); my $agent = WWW::Mechanize->new(); while (1) { $agent->get(qq(http://www.yahoo.com)); print "agent size = ".total_size($agent)."\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize memory leak???
by ViceRaid (Chaplain) on Jan 07, 2004 at 17:41 UTC | |
by pg (Canon) on Jan 07, 2004 at 20:28 UTC | |
by Anonymous Monk on May 09, 2018 at 07:36 UTC | |
by Anonymous Monk on Jan 08, 2004 at 15:52 UTC | |
|
Re: WWW::Mechanize memory leak???
by Roy Johnson (Monsignor) on Jan 07, 2004 at 16:55 UTC | |
by ViceRaid (Chaplain) on Jan 07, 2004 at 17:47 UTC | |
|
Re: WWW::Mechanize memory leak???
by RMGir (Prior) on Jan 07, 2004 at 18:39 UTC | |
|
Re: WWW::Mechanize memory leak???
by Steve_p (Priest) on Jan 09, 2004 at 03:27 UTC |