I had a similar experience. I have a perl script running in a loop that uses the NT version windump to collect port and ip usage statistics for my Internet link. First the windump.exe would gradually consume memory so I modified my script to kill it and restart every hour. Then perl.exe kept consuming memory. I fixed that by having the script die every day a 5 AM. The batch file that calls the script is also in a loop so as soon as the perl script dies, it just restarts. So long as the cmd.exe process running the batch file doesn't consume to much memory, I should be all set! rotaiv. At 12/15/00 11:34 AM, Paul Moore anti-spam account wrote: > >I have a PERL program that uses Win32:ODBC to connect to a Oracle 7 >database. It then loops, running a number of SELECT queries on the >database, occasionally doing some processing in each iteration. I keep the >dame database connection open all the time. > >If I check the Windows NT task manager, the perl.exe process will gradually >use more and more memory. The amount and rate of increase depends on the >machine and the database (Oracle 7 or 8). > >This is troublesome. I have tried removing all local variables, but that >does not work. Does anyone know why this happens and how to stop it? > >Paul Moore. VEI Ltd. > >_______________________________________________ >ActivePerl mailing list >[EMAIL PROTECTED] >http://listserv.ActiveState.com/mailman/listinfo/activeperl _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activeperl
