On Sunday, March 23, 2003, at 06:59 AM, Marco Baroni wrote:
Thanks!
Then, is there a non-leaking alternative (short of re-implementing html parsing manually...) to HTML::Parse/HTML::FormatText/Sys::AlarmCall (I started using the latter so that the script would not get stuck whenever it found a page it had problems downloading... and I can see how this could be the cause of the leaks...)?
You might want to check out Devel::LeakTrace to track down the problem:
http://search.cpan.org/author/RCLAMP/Devel-LeakTrace/
I can live with the script as it is -- it does its job more or less fine, and it's ok to have to reboot the computer after it runs -- but I am curious about what would be a *better* approach to the problem of downloading lots of text from the net.
Ack - you shouldn't have to reboot the computer. When the script is done, or when you kill it, you should be fine. All the memory is given back to your system.
This ain't Mac OS 9 anymore. ;-)
-Ken