classification
Title: request.urlopen(), memory leak?
Type: resource usage Stage: resolved
Components: Windows Versions: Python 3.8, Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: neonene, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2019-07-04 19:11 by neonene, last changed 2019-07-12 08:04 by neonene. This issue is now closed.

Messages (2)
msg347293 - (view) Author: neonene (neonene) * Date: 2019-07-04 19:11
Python3.8.0a4,b1,b2(x64,x32)
Python3.7.4rc1,rc2 (x64,x32)
In Windows7 SP1(x64), memory usage keep increasing by the following code.
---
from urllib import request
from time import sleep
while True:
    req = request.Request('https://www.python.org/')
    request.urlopen(req)
    sleep(1)
---
Sorry, I'm not sure why.
msg347728 - (view) Author: neonene (neonene) * Date: 2019-07-12 08:04
issue35941
History
Date User Action Args
2019-07-12 08:04:00neonenesetstatus: open -> closed
resolution: duplicate
messages: + msg347728

stage: resolved
2019-07-04 19:11:53neonenecreate