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 mistasse
Recipients mistasse
Date 2019-12-16.13:10:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576501829.35.0.849267913226.issue39061@roundup.psfhosted.org>
In-reply-to
Content
TLDR; a short-lived object can make it directly from young generation to old generation if middle generation collection kicks in while it is not freeable yet. Old generation is very rarely collected. Several of those objects, if they imply cyclic references, can therefore stack there and use a lot of RAM if big objects are attached to them. (if no cyclic refs, refcount goes to 0 and everything is OK)

This seems to happen in 3.8 as well, most likely in old versions as well. To me, those conditions shouldn't be exceptional enough to be ignored. 
I'm beginning to work on a fix, no guarantee yet though...
History
Date User Action Args
2019-12-16 13:10:29mistassesetrecipients: + mistasse
2019-12-16 13:10:29mistassesetmessageid: <1576501829.35.0.849267913226.issue39061@roundup.psfhosted.org>
2019-12-16 13:10:29mistasselinkissue39061 messages
2019-12-16 13:10:29mistassecreate