[New-bugs-announce] [issue10085] Memory allocation for primitive types

Андрей Давыдов report at bugs.python.org
Wed Oct 13 16:19:09 CEST 2010

New submission from Андрей Давыдов <andrey.a.davydov at gmail.com>:

Output for this script is

in test 163.80078125
in f 318.70703125
after f 280.49609375
in f 318.72265625
after f 280.50390625

If Python store all created objects of primitive types, why does it allocate (318 - 163) MB for call of function 'f'?
What memory does it free when call 'gc.collect()'

components: None
files: memory.py
messages: 118523
nosy: Андрей.Давыдов
priority: normal
severity: normal
status: open
title: Memory allocation for primitive types
type: resource usage
versions: Python 2.6
Added file: http://bugs.python.org/file19215/memory.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list