Skip to content

increase default PYSTACK size from 1536 to 2048 #10236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Apr 8, 2025

Increase default CIRCUITPY_PYSTACK_SIZE from 1536 to 2048, except on SAMD21. This fixes pystack-exhausted errors for several PyPortal projects, and doesn't use up too much RAM.

@dhalbert dhalbert requested review from tannewt and FoamyGuy April 8, 2025 16:47
Copy link
Collaborator

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested a build from this branch on PyPortal with the Cleveland art project and confirmed it is able to run with this version without having any stack size declared in settings.toml now.

@dhalbert dhalbert merged commit b508e41 into adafruit:main Apr 9, 2025
615 checks passed
@dhalbert dhalbert deleted the increase-pystack branch April 9, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleveland Art PyPortal Project Exhausts Pystack Increase default CIRCUITPY_PYSTACK_SIZE to at least 2048
2 participants