[Python-bugs-list] [ python-Bugs-598797 ] HTTPConnection memory leak
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 22 Aug 2002 10:02:44 -0700
Bugs item #598797, was opened at 2002-08-22 14:37
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=598797&group_id=5470
Category: Python Library
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Moales (mmoales)
>Assigned to: Jeremy Hylton (jhylton)
Summary: HTTPConnection memory leak
Initial Comment:
This may be related to bugs 559117 and 592645.
I am using Python 2.2.1 (#34, 4/9/2002) on Windows
2000 (5.00.2195, Service Pack 2). Similar to bug
559117, I see a steady increase of 4K in the size of the
process after every 10 seconds or so. Here's my test
script:
import httplib
import time
for i in range(1000):
conn = httplib.HTTPConnection("www.python.org")
conn.request("GET", "/index.html")
r1 = conn.getresponse()
time.sleep(0.5)
conn.close()
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=598797&group_id=5470