Skip to content

struct.unpack memory leak #58801

@RobertElsner

Description

@RobertElsner
BPO 14596
Nosy @jcea, @mdickinson, @pitrou, @bitdancer, @meadori, @serhiy-storchaka
Files
  • unpack_memory_leak.py: Minimal example
  • unpack_memory_leak.py: Revised minimal example for Python 3.1 and 2.6
  • struct_repeat.patch: Patch for reduction of memory consumption
  • struct_sizeof.patch: Patch for implementing struct.sizeof for measuring memory consumption
  • struct_sizeof-2.patch
  • struct_repeat_2.patch
  • 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-05-17.09:48:47.004>
    created_at = <Date 2012-04-16.12:10:11.898>
    labels = ['library', 'performance']
    title = 'struct.unpack memory leak'
    updated_at = <Date 2013-05-17.09:48:47.003>
    user = 'https://bugs.python.org/RobertElsner'

    bugs.python.org fields:

    activity = <Date 2013-05-17.09:48:47.003>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-05-17.09:48:47.004>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2012-04-16.12:10:11.898>
    creator = 'Robert.Elsner'
    dependencies = []
    files = ['25238', '25239', '25242', '25325', '26115', '30194']
    hgrepos = []
    issue_num = 14596
    keywords = ['patch']
    message_count = 38.0
    messages = ['158418', '158419', '158420', '158421', '158422', '158423', '158427', '158429', '158431', '158442', '158451', '158453', '158456', '158462', '158479', '158862', '159003', '159011', '159012', '159013', '159079', '163595', '163596', '163599', '163612', '163670', '165812', '165892', '165903', '188831', '188840', '189214', '189234', '189239', '189249', '189429', '189431', '189440']
    nosy_count = 8.0
    nosy_names = ['jcea', 'mark.dickinson', 'pitrou', 'r.david.murray', 'meador.inge', 'python-dev', 'serhiy.storchaka', 'Robert.Elsner']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue14596'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      performancePerformance 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