gh-150114: Reduce memory usage of test_free_threading.test_iteration#150115
Conversation
…ation Reduce NUMITEMS from 100000 to 5000. Peak RSS for the full test_free_threading suite drops from ~850 MB to ~175 MB.
|
There's a resource for tests with lots of memory available that we could probably use here. Let me find a reference for you... |
|
It's much more valuable to have the test run for fewer iterations in the GitHub CI than more iterations behind a memory resource guard. |
|
Yeah, you're right. Also the test filter has changed since I last looked at it and doesn't really suit this kind of switch so well anymore. |
|
In addition to |
|
Thanks @colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-150124 is a backport of this pull request to the 3.15 branch. |
|
GH-150123 is a backport of this pull request to the 3.14 branch. |
Reduce NUMITEMS from 100000 to 5000. Peak RSS for the full test_free_threading suite drops from ~850 MB to ~175 MB.