This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Backport of to Python 2.7 (Make it more likely for the system allocator to release free()d memory arenas on glibc-based systems).
Type: enhancement Stage: resolved
Components: Versions: Python 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, bhyolken, python-dev
Priority: normal Keywords: patch

Created on 2014-02-03 00:52 by bhyolken, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
memory_fix_updated2.patch bhyolken, 2014-02-04 06:44 review
Messages (5)
msg210063 - (view) Author: Benjamin Yolken (bhyolken) Date: 2014-02-03 00:52
We have found that affects a number of our Python 2.7 systems in production. I took the changes in and backported them to the head of the python 2.7 cpython hg branch. I have verified that these changes fix the problem and that all tests pass.

Please see the attached patch.
msg210071 - (view) Author: Benjamin Yolken (bhyolken) Date: 2014-02-03 01:27
Attaching an updated version of the patch generated with autoconf 2.69 instead of 2.68.
msg210169 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2014-02-03 23:32
It seems you actually want the second patch on that issue not the first.
msg210179 - (view) Author: Benjamin Yolken (bhyolken) Date: 2014-02-04 06:44
Ahh, didn't see the "better resolution" patch later in the issue. I've updated the Python 2.7 patch here accordingly.
msg210241 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-02-04 15:20
New changeset 4e43e5b3f7fc by Benjamin Peterson in branch '2.7':
mmap obmalloc arenas so that they may be immediately returned to the system when unused (closes #20494)
Date User Action Args
2022-04-11 14:57:58adminsetgithub: 64693
2014-02-04 15:20:36python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg210241

resolution: fixed
stage: resolved
2014-02-04 06:44:44bhyolkensetfiles: - memory_fix_updated.patch
2014-02-04 06:44:19bhyolkensetfiles: + memory_fix_updated2.patch

messages: + msg210179
2014-02-04 00:13:13bhyolkensetfiles: - memory_fix.patch
2014-02-03 23:32:04benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg210169
2014-02-03 01:27:33bhyolkensetfiles: + memory_fix_updated.patch

messages: + msg210071
2014-02-03 00:52:49bhyolkencreate