-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multidict 4.5 memory leak #307
Comments
cc @iemelyanov |
GitMate.io thinks the contributor most likely able to help you is @asvetlov. Possibly related issues are aio-libs/aiohttp#1656 (Memory leak), aio-libs/aiohttp#271 (Memory leak in request), aio-libs/aiohttp#133 (Memory leak when doing https request), aio-libs/aiohttp#1029 (Memory leak when doing https request), and aio-libs/aiohttp#1756 (Memory leak with aiohttp.request). |
@byashimov if you think that it's a regression in multidict, you should report the problem there and post an example not using aiohttp. |
@webknjaz multidict downgrade fixes the issue. Please confirm it to downgrade the package version in setup file. I'll try to reproduce it for multidict issue tracker. |
Hm.. could smth like https://twitter.com/VictorStinner/status/1062282676462333952 or cprofile help? |
@byashimov the latest version is also compiled with the newest Cython |
I can confirm, I am seeing this same memory leak using |
Can anyone rebuild that with Cython v28.5.0 to check whether it's related to Cython or to code changes? |
Guys, thank for the report. |
Fixed by #306 |
@byashimov it's because I did not include dependency upgrade when doing the release |
I don't think #306 fixed the issue |
@asvetlov keeping this open since the issue was reported about the client side. |
It seems like the recent version of multidict brakes aiohttp somehow.
Server:
Client:
Just after 100000 cycles this simple server takes 171M of ram and doesn't release it.
4.4.2 works like a charm.
python 3.6.4
aiohttp 3.4.4 but should affect other versions
multidict>=4.0,<5.0
The text was updated successfully, but these errors were encountered: