This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients OO O, davin, paul.moore, pitrou, steve.dower, tim.golden, zach.ware
Date 2018-02-23.10:56:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519383364.28.0.467229070634.issue32759@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, this is because the multiprocessing Heap object never releases any unused arena objects, so the shared memory you allocate will probably stay allocated until the process tree ends.

It is possible to change the strategy to delete unused arenas, though it's unsure whether doing so has adverse consequences (such as making later allocations costlier).  It may make sense to only reclaim the larger arenas (larger than 1MB perhaps?).
History
Date User Action Args
2018-02-23 10:56:04pitrousetrecipients: + pitrou, paul.moore, tim.golden, zach.ware, steve.dower, davin, OO O
2018-02-23 10:56:04pitrousetmessageid: <1519383364.28.0.467229070634.issue32759@psf.upfronthosting.co.za>
2018-02-23 10:56:04pitroulinkissue32759 messages
2018-02-23 10:56:04pitroucreate