[issue24085] large memory overhead when pyc is recompiled
Antoine Pitrou
report at bugs.python.org
Fri May 1 19:31:44 CEST 2015
Antoine Pitrou added the comment:
Ok, I can reproduce:
$ rm -r __pycache__/; ./python repro2.py
ready
<module 'anon_city_hoods' from '/home/antoine/cpython/opt/anon_city_hoods.py'>
1047656
VmHWM: 1047656 kB
VmRSS: 50660 kB
$ ./python repro2.py
ready
<module 'anon_city_hoods' from '/home/antoine/cpython/opt/anon_city_hoods.py'>
77480
VmHWM: 77480 kB
VmRSS: 15664 kB
My guess is that memory fragmentation prevents the RSS mark to drop any further, though one cannot rule out the possibility of an actual memory leak.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24085>
_______________________________________
More information about the Python-bugs-list
mailing list