Uh oh!
There was an error while loading. Please reload this page.
gh-135898: Add section to free-threading howto about memory usage. - #143279
Conversation
As suggested by @kumaraditya303, we should add some additional details about objects that get per-thread reference counting. Currently that's heap allocated types and code objects. See the |
This PR is stale because it has been open for 30 days with no activity. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Documentation build overview
|
Uh oh!
There was an error while loading. Please reload this page.
Thanks @nascheme for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
GH-150607 is a backport of this pull request to the 3.15 branch. |
GH-150608 is a backport of this pull request to the 3.14 branch. |
This higher memory usage (if it actually does happen) is mostly due to design decisions and not due to bugs or implementation flaws. So, I think we should document them somewhere in the user facing docs.
📚 Documentation preview 📚: https://cpython-previews--143279.org.readthedocs.build/