[issue24085] large memory overhead when pyc is recompiled

Anthony Sottile report at bugs.python.org
Fri May 1 16:37:44 CEST 2015


Anthony Sottile added the comment:

I'm still seeing a very large difference:

asottile at work:/tmp$ python repro.py 
ready
<module 'city_hoods' from '/tmp/city_hoods.pyc'>
72604
VmHWM:	   72604 kB
VmRSS:	   60900 kB
asottile at work:/tmp$ rm *.pyc; python repro.py 
ready
<module 'city_hoods' from '/tmp/city_hoods.py'>
1077232
VmHWM:	 1077232 kB
VmRSS:	  218040 kB

This file is significantly larger than the one attached, not sure if it makes much of a difference.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24085>
_______________________________________


More information about the Python-bugs-list mailing list