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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24085>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to