in reply to Re: Memory Hog Code - Where's the Pileup?
in thread Memory Hog Code - Where's the Pileup?

perrin,
Andy recently made a change to WWW::Mechanize for speed. The change deferred construction of certain objects of a given page until they were asked for. This could have a minor positive memory impact as well.

Cheers - L~R

  • Comment on Re^2: Memory Hog Code - Where's the Pileup?

Replies are listed 'Best First'.
Re^3: Memory Hog Code - Where's the Pileup?
by perrin (Chancellor) on Nov 03, 2005 at 15:35 UTC
    Maybe, but this code already copies the entire page about 4 times in memory ($mech, $html, $te, $te->rows), so any large page is going to take a big hunk of RAM regardless.
      perrin,
      Sorry - miscommunication. My intention wasn't to say that this specific problem would be addressed. I was just taking the opportunity to make a general comment about the improvement of WWW::Mechanize.

      Cheers - L~R