At 05/25/2001 04:02 AM, [EMAIL PROTECTED] wrote:
>Hi All,
>I am running a fairly long perl script in which I use hashes fairly
>extensively etc. As I am developing it I naturally run the script fairly
>often. What I am noticing is that say after a day or maybe two I begin to
>get errors...not enough memory to run this application. This will even
>happen when I have practically everything closed down. I feel it must be the
>perl script using up memory and then not freeing it up after the script has
>finished. Is there any malloc type function in perl. How do you control
>memory usage. I have 256M of memory, win95 running active perl.
>Willie
I had the exact same problem with a large script that I use. The only
solution I have found was to have the script exit once an hour and use a
batch file running in a loop to restart the script.
Fortunately, my script allows me to close it each hour without any loss of
functionality. I am also interested to know if there is a way to free up
unused memory.
rotaiv
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users