Author methane
Recipients asottile, benjamin.peterson, brett.cannon, bukzor, geoffreyspear, georg.brandl, jonathan.underwood, methane, ncoghlan, pitrou, r.david.murray, serhiy.storchaka
Date 2018-07-03.13:12:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530623554.0.0.56676864532.issue24085@psf.upfronthosting.co.za>
In-reply-to
Content
In case repro2, unreturned memory is in glibc malloc.
jemalloc mitigates this issue.
There are some fragmentation in pymalloc, but I think it's acceptable level.

$ python3 -B repro2.py
ready
<module 'anon_city_hoods' from '/home/inada-n/anon_city_hoods.py'>
1079124
VmHWM:   1079124 kB
VmRSS:     83588 kB

$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 python3 -B repro2.py
ready
<module 'anon_city_hoods' from '/home/inada-n/anon_city_hoods.py'>
1108424
VmHWM:   1108424 kB
VmRSS:     28140 kB
History
Date User Action Args
2018-07-03 13:12:34methanesetrecipients: + methane, brett.cannon, georg.brandl, ncoghlan, pitrou, benjamin.peterson, r.david.murray, jonathan.underwood, bukzor, geoffreyspear, serhiy.storchaka, asottile
2018-07-03 13:12:33methanesetmessageid: <1530623554.0.0.56676864532.issue24085@psf.upfronthosting.co.za>
2018-07-03 13:12:33methanelinkissue24085 messages
2018-07-03 13:12:33methanecreate