[issue2321] return more memory from unicode objects to system

Neal Norwitz report at bugs.python.org
Mon Mar 17 16:48:22 CET 2008


New submission from Neal Norwitz <nnorwitz at gmail.com>:

This patch returns more memory to the system when doing:

  >>> x = [unicode(i) for i in xrange(1000000)]
  >>> del x

If the above code is done, the memory before and after is quite
different.  After this patch, the memory of the process as reported by
the system (like top/ps) should be approximately the same

----------
components: Interpreter Core
files: uni.diff
keywords: patch, patch
messages: 63654
nosy: nnorwitz
severity: normal
status: open
title: return more memory from unicode objects to system
type: resource usage
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9689/uni.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2321>
__________________________________


More information about the Python-bugs-list mailing list