Excessive QSBR memory usage when delay freeing large blocks. #132519
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-free-threading
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
I ran across this while profiling memory usage in #130771. The results are same for both that and
list
objects which use QSBR to free memory, so this is a QSBR thing. Note this is an extreme synthetic case, this CAN happen but does not mean it WILL happen in real-world apps.Memory usage numbers:
Test script:
See PR for proposed fix.
CPython versions tested on:
3.14
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: