[Python-bugs-list] [ python-Bugs-598797 ] HTTPConnection memory leak
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 01 Sep 2002 15:42:52 -0700
Bugs item #598797, was opened at 2002-08-22 10: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()
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-09-01 18:42
Message:
Logged In: YES
user_id=33168
I can't duplicate this problem on Linux. I used valgrind
too. It's possible this problem was fixed.
Mark, can you build the version from CVS and see if you
still have the problem? I think there was a memory leak in
this area, but I'm not sure if it effected windows. I
cannot test on windows.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=598797&group_id=5470