Sounds like there is a memory leak. Without seeing your scripts it is
hard to tell what causes it.
The only way of causing one in pure Perl is to create a self referencing
varaible AFAIK:
{
my $a;
$a = \$a;
}
--
Simon Oliver
Erik A wrote:
>
> I have a question regarding memory consumption in perl/win32.
>
> I use a simple perl script for pinging a webserver for monitoring purposes.
> The script runs all the time. The problem with this script and other similar
> scripts I use is that it seems to use up more and more RAM memory (as viewed
> in the Task Manager in win2k) the longer the program runs.
>
> This really amazes me. The script really does the same work for every cycle
> and there is no reason to build up memory.
>
> Can anyone possibly explain and/or suggest a solution? Is there some command
> to 'reset' the memory consumption every cycle of the script, or similar?
>
> Regards,
> Erik
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web