CI memory shortage#243
Merged
Merged
Conversation
Member
Author
|
Hi @max-models - this is now indeed ready for review! The reason for the memory overflow was a change in the garbage collection in Python 3.14 (see description above). |
max-models
approved these changes
May 13, 2026
max-models
left a comment
Member
There was a problem hiding this comment.
This solution looks a bit like a hack, but maybe it's the best way to solve it for now. :)
spossann
added a commit
that referenced
this pull request
Jun 9, 2026
**Solves the following issue(s):** Closes #242 I guess this is because Github changed memory limits? Is there any source for this? The reason is most like the new garbage collector introduced in Python 3.14. It can cause problems in large pytest runs, since packages like numpy, pandas etc have not yet adopted it. Actually, the new GC has been rolled back in Python 3.14.5, see https://www.igorslab.de/en/python-3-14-5-released-maintenance-update-old-garbage-collector/ **Implemented solution:** Pin Python to 3.13 in the docker image `ubunte-latest-with-struphy`. The other image`ubuntu-with-reqs` still has the newest Python version and can be used for scheduled testing. **Other changes:** Implemented sharding of unit tests (4 shards) to have quicker concurrent workflows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solves the following issue(s):
Closes #242
I guess this is because Github changed memory limits? Is there any source for this?
The reason is most like the new garbage collector introduced in Python 3.14. It can cause problems in large pytest runs, since packages like numpy, pandas etc have not yet adopted it. Actually, the new GC has been rolled back in Python 3.14.5, see https://www.igorslab.de/en/python-3-14-5-released-maintenance-update-old-garbage-collector/
Implemented solution:
Pin Python to 3.13 in the docker image
ubunte-latest-with-struphy. The other imageubuntu-with-reqsstill has the newest Python version and can be used for scheduled testing.Other changes:
Implemented sharding of unit tests (4 shards) to have quicker concurrent workflows.