[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

8.64453125
in test 163.80078125
in f 318.70703125
after f 280.49609375
in f 318.72265625
after f 280.50390625
0
164.4765625
126.26171875
10.01171875

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>
<http://bugs.python.org/issue10085>
_______________________________________


More information about the New-bugs-announce mailing list