Skip to content
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

add ego_largeheap build tag as workaround for heap sizes larger than 16GB #227

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

thomasten
Copy link
Member

#201 introduced a regression that causes memory allocations above 16GB to fail. This was reported in #226. It's difficult to support both a small minimal heap size and very large heap sizes within the same built binary.

As a workaround, we introduce the ego_largeheap build tag. For most users, the default behavior (small minimal requirements, up to 16GB heap) should be fine. Users wanting larger heap sizes can build their apps with the new build tag.

On signing, the CLI informs the user in case a rebuild with this tag is required.

@netlify
Copy link

netlify bot commented Sep 25, 2023

Deploy Preview for ego-docs canceled.

Name Link
🔨 Latest commit d0ec57e
🔍 Latest deploy log https://app.netlify.com/sites/ego-docs/deploys/65119e478c18e90008946250

@thomasten thomasten merged commit 9294d42 into master Sep 26, 2023
6 checks passed
@thomasten thomasten deleted the fix/largeheap branch September 26, 2023 07:17
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.

2 participants