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 vstinner
Recipients ned.deily, vstinner, yselivanov
Date 2018-06-08.06:51:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> I'd love to have a flag to turn this on, or maybe we should enable it for -X dev.

Well, there is already a public API to do it manually: gc.set_threshold(5).

I'm not sure about a threshold of 5 for -X dev: that's very very low and so kill performances. -X dev can be slower, not but 10x slower for example. I didn't measure performance.

Such bug is rare, so I'm not sure about putting gc.set_threshold(5) in -X dev.
History
Date User Action Args
2018-06-08 06:51:36vstinnersetrecipients: + vstinner, ned.deily, yselivanov
2018-06-08 06:51:36vstinnersetmessageid: <[email protected]>
2018-06-08 06:51:36vstinnerlinkissue33803 messages
2018-06-08 06:51:36vstinnercreate