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

OOM error in deploy requires NODE_OPTIONS space size to be increased/defined #242

Closed
larswww opened this issue May 28, 2024 · 1 comment · Fixed by #245
Closed

OOM error in deploy requires NODE_OPTIONS space size to be increased/defined #242

larswww opened this issue May 28, 2024 · 1 comment · Fixed by #245

Comments

@larswww
Copy link

larswww commented May 28, 2024

Have you experienced this bug with the latest version of the template?

Yes

Steps to Reproduce

I had the following issue: https://community.fly.io/t/blues-stack-template-js-heap-error-oom-on-github-actions-deply/20087
And found the solution here: https://community.fly.io/t/pci-fatal-no-config-space-access-function-found/19594/10

Expected Behavior

Deploy works when you follow tutorial

Actual Behavior

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory in Actions -> Deploy

@larswww
Copy link
Author

larswww commented May 28, 2024

So either modifying the template to include NODE_OPTIONS= "--max-old-space-size=4096" in fly.toml by default, or fixing the root cause.

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 a pull request may close this issue.

1 participant