Skip to content

setuptools 6.0 causes giant memory leaks in python often crashing the interpretter #259

@ghost

Description

Originally reported by: sdague (Bitbucket: sdague, GitHub: sdague)


About 20% of the build environments in OpenStack are seeing MemoryError trying to pip install requirements / test-requirements. An example fail is here - http://logs.openstack.org/90/124590/2/check/gate-elastic-recheck-python27/b8c7724/console.html#_2014-09-27_12_19_36_039

When running locally I found that python process was rapidly growing to north of 5GB of used memory. Putting a setuptools<6 pin in requirements.txt made the issue go away.

The issue only cropped up after the setuptools 6.0 release, so I think there is a high correlation that it is related to that version.


Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions