Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222481 - dev-lang/python: return more memory from unicode objects to system
Summary: dev-lang/python: return more memory from unicode objects to system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue2321
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-17 10:21 UTC by Dennis Schridde
Modified: 2008-06-24 13:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2008-05-17 10:21:12 UTC
First: I hope this is not duplicate, but I couldn't find anything, neither in this tracker, nor in the patchset.

Python up to version 2.5.3 (not released yet) has an memory-fragmentation issue with deallocation of unicode and other objects. This results in Python apps which use unicode to consume extreme amounts of memory, without ever returning them to the system.

http://bugs.python.org/issue2321 contains a patch to fix that.
Even though this bug will be fixed in 2.5.3 and higher, I still would like to see it go into the gentoo-patchset, because it is a really annoying problem, making my machine to go out of memory quickly and often.

Reproducible: Always

Steps to Reproduce:
Comment 1 Dennis Schridde 2008-05-17 10:22:42 UTC
PS: The SVN revision containing the fix for 2.5 is this one: http://svn.python.org/view?rev=61485&view=rev
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2008-06-24 13:56:46 UTC
python-gentoo-patches.2.5.2-r5 has the mentioned patch included.
Thanks for reporting :-)