[python-win32] Re: ADO memory leak?
Roger Upole
rwupole at msn.com
Fri Aug 25 18:39:31 CEST 2006
Looks like there's a refcount leak in the date conversion somewhere.
Distilled down some more, if you change the last few lines of the script to
parameter = command.Parameters.Item('@%s' % column.Name)
for x in xrange(10000):
parameter.Value = datetime.datetime.now()
the total refcount increases by ~100k every time you run it.
Now that we know where it is, shouldn't be too difficult
to fix it. I'll take a close look at the C++ date conversion
code tomorrow.
Roger
More information about the Python-win32
mailing list