Skip to content

tracebacks eat up memory by holding references to locals and globals when they are not wanted #44031

@ghazel

Description

@ghazel
mannequin
BPO 1565525
Nosy @tim-one, @loewis, @akuchling, @terryjreedy, @pitrou, @vstinner, @bitdancer, @phmc
Files
  • eat_memory.py
  • clear-tb-frames.txt
  • clear-tb-frames-2.txt
  • 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 2013-12-27.19:59:52.161>
    created_at = <Date 2006-09-26.06:58:18.000>
    labels = ['easy', 'library', 'performance']
    title = 'tracebacks eat up memory by holding references to locals and globals when they are not wanted'
    updated_at = <Date 2017-09-01.14:53:26.982>
    user = 'https://bugs.python.org/ghazel'

    bugs.python.org fields:

    activity = <Date 2017-09-01.14:53:26.982>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-12-27.19:59:52.161>
    closer = 'akuchling'
    components = ['Library (Lib)']
    creation = <Date 2006-09-26.06:58:18.000>
    creator = 'ghazel'
    dependencies = []
    files = ['2160', '31668', '31692']
    hgrepos = []
    issue_num = 1565525
    keywords = ['easy']
    message_count = 43.0
    messages = ['29994', '29995', '29996', '29997', '29998', '29999', '30000', '30001', '30002', '74329', '74401', '79815', '79817', '79818', '79819', '79820', '108646', '108653', '108658', '108665', '108668', '108672', '108677', '108686', '108742', '108748', '108751', '113450', '194513', '194520', '194943', '197267', '197278', '197340', '197347', '197371', '197396', '197397', '197429', '197776', '197777', '197838', '301115']
    nosy_count = 10.0
    nosy_names = ['tim.peters', 'loewis', 'akuchling', 'terry.reedy', 'pitrou', 'vstinner', 'ghazel', 'r.david.murray', 'python-dev', 'pconnell']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue1565525'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easyperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions