Hi, I'm running into some memory leak issue when running the win32pi.GetShortPathName function. Basically I've got a daemon that will perform this function on lots of long windows path names. Over time, it looks like the memory footprint increases substantially.
You can reproduce it by simply launching this in your python interpreter: import win32api for x in xrange(1000000): win32api.GetShortPathName("c:\\documents and settings\\some directory\\name") You will see in your windows task manager that the memory usage shoots up. Anyone have any idea on how to get around this problem? I thought about writing my own version of GetShortPathName, but so far I haven't been able to find any source code/docs online on the proper logic to generate the short name. Thanks, Patrick
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32