A
Anatoli Hristov
Hello,
I need an advice about a small script I run 24/24 7/7.
It's a script converted to EXE using py2exe and this script takes -
grows 30kb RAM on each loop which means that for 10hours it grows up
with 180mb memory. is there something I can do ?
The script:
import time
import urllib
exec(open("iccm.ini").read())
loop = 0
while loop == 0:
time.sleep(interval*60)
try:
urllib.urlretrieve ('"'URL'"'+"/hours.xml", "c:\\config\\hours.xml")
except IOError:
pass
Thanks
I need an advice about a small script I run 24/24 7/7.
It's a script converted to EXE using py2exe and this script takes -
grows 30kb RAM on each loop which means that for 10hours it grows up
with 180mb memory. is there something I can do ?
downloading the fileFrom the ini file I'm loading only the URL and the interval of
The script:
import time
import urllib
exec(open("iccm.ini").read())
loop = 0
while loop == 0:
time.sleep(interval*60)
try:
urllib.urlretrieve ('"'URL'"'+"/hours.xml", "c:\\config\\hours.xml")
except IOError:
pass
Thanks