windows mem leak

Bob Smith bob_smith_17280 at hotmail.com
Sat Jan 8 18:26:16 EST 2005


Steve Holden wrote:
> Bob Smith wrote:
> 
>> Does the Win32 port of Python have a memory leak? I have some code 
>> that runs flawlessly on Linux, but bombs after a few hours on Windows. 
>> It's threaded and uses a lot of memory.
>>
>> Thanks!
> 
> 
> Yes, that's a well-known problem. Code that runs with a few errors will 
> port without any trouble at all to Windows, but once it runs flawlessly 
> on Linux it starts to leak memory on Windows. The PSU suspects a plot in 
> Redmond, the basic details of which ar

Oh, the humor of it all ;)

Attached is the code. Run it yourself and see. You too Peter. Be gentle 
with me, this was my first attempt with threads.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: web_scan.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20050108/1276e4f5/attachment.ksh>


More information about the Python-list mailing list