Skip to content

asyncio.Queue leaks memory if the queue is empty and consumers poll it frequently #75801

@zackelan

Description

@zackelan
mannequin
BPO 31620
Nosy @asvetlov, @cjrh, @1st1, @SurenNihalani
PRs
  • bpo-31620: asyncio.Queue leaks memory if the queue is empty and the consumers poll it frequently #3813
  • [3.6] bpo-31620: have asyncio/queues not leak memory when you've exceptions during waiting (GH-3813) #4326
  • Files
  • test.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-12-13.19:16:34.008>
    created_at = <Date 2017-09-28.17:27:49.202>
    labels = ['expert-asyncio', '3.7', 'performance']
    title = 'asyncio.Queue leaks memory if the queue is empty and consumers poll it frequently'
    updated_at = <Date 2017-12-13.19:16:34.007>
    user = 'https://bugs.python.org/zackelan'

    bugs.python.org fields:

    activity = <Date 2017-12-13.19:16:34.007>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-12-13.19:16:34.008>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2017-09-28.17:27:49.202>
    creator = 'zackelan'
    dependencies = []
    files = ['47174']
    hgrepos = []
    issue_num = 31620
    keywords = ['patch']
    message_count = 6.0
    messages = ['303264', '303290', '303371', '305787', '305789', '308234']
    nosy_count = 5.0
    nosy_names = ['asvetlov', 'cjrh', 'yselivanov', 'snihalani', 'zackelan']
    pr_nums = ['3813', '4326']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue31620'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions