Memory leak in on Windows?

Mark Moales mmoales at
Wed Aug 21 16:48:40 CEST 2002

Sorry, I should have worded that better.  I do see a steady increase in
the size of the client.  However, the server appears to reach a
threshold and stop growing.  

Today I'm running a test in which my client issues 6000 calls instead of
600 and has a delay between calls of a half second.  In perfmon (I'm
monitoring private and virtual bytes for the process), I see a steady
increase in the number of private bytes used by the process up until the
process terminates.

I had initially thought the leak might be in the Windows socket library,
but I wrote a small socket client/server that did not exhibit any sign
of a leak.

My next step is to write my own Transport that just uses sockets to send
the XML instead of HTTP to see if that makes any difference.


Skip Montanaro wrote:
>     Mark> Using perfmon, I see about a 4K increase in the size of my client
>     Mark> and server processes after about a half dozen or so calls.
> What do you see in the way of size increase have a few hundred or a thousand
> calls?  If you don't see the memory increase steadily as more calls are
> made, I doubt there's a leak.
> --
> Skip Montanaro
> skip at
> consulting:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmoales.vcf
Type: text/x-vcard
Size: 281 bytes
Desc: Card for Mark Moales
URL: <>

More information about the Python-list mailing list