You're right.
Eery time such a loop finishes and sthe subroutine exits (thus clearing the
localized useragent object) it gains about 20k of memory.

I don't know if it's relevant, but this is experinced when I turn the script
to an EXE file using perlApp from activestate. I never tested it as a
script.


----- Original Message -----
From: "William R Ward" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 3:50 AM
Subject: Re: 500 Read error


> [EMAIL PROTECTED] (Beyond Control Inc.) writes:
> > Unfortunatly, if I start it now it *will* work for 10 hours, then die.
> >
> > This is why I find this to be so weird, since I look like IE5, and I
always
> > create a new UserAgent object so that I won't get cookied or anything
like
> > that...
>
> Try cranking up the rate to every 10 seconds and watching memory usage
> using something like "top".  You probably have some kind of memory
> leak.  Consider using a cron job instead of a daemon for this?
>
> --Bill.
>
> --
> William R Ward            [EMAIL PROTECTED]
http://www.wards.net/~bill/
> --------------------------------------------------------------------------
---
>      If you're not part of the solution, you're part of the precipitate.
>
>

Reply via email to