program loaded in memory
Anatoli Hristov
tolidtm at gmail.com
Sun Oct 21 20:02:27 EDT 2012
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 ?
>From the ini file I'm loading only the URL and the interval of
downloading the file
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
More information about the Python-list
mailing list