Skip to content

Memory leak in uvloop and tornado #252

Open
@totaki

Description

@totaki
  • uvloop version: 0.11.1
  • Python version: 3.6.4
  • Platform: Ubuntu 16.04 x64
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?: This no effect

I have a platform to which mobile devices will constantly connect via TCP, about 20k per instance. After a few hours of work, memory consumption rises to 2 GB. We use tornado 5.0.1 as TCP server and install uvloop for loop for asyncio. I conducted one experiment using tracemalloc, when the devices are disconnected and then the memory leak is again connected in this code line , the number of objects and the total expanding. Can you help find what these objects are and how to remove this leak?
Снимок экрана от 2019-06-09 17-39-17

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions