-
Notifications
You must be signed in to change notification settings - Fork 315
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
Deployment in Fly.io crashes with JavaScript heap out of memory #276
Comments
I'm encountering the same error when attempting to deploy to Fly.io. The same app, with the same configuration, was deployed successfully last week. Not sure if this is Remix-related. |
wasn't this creation of swap space intended to avoid this problem? why did it stop working? these are my major doubts here |
I have the same issue, last week worked fine I scaled the machine memory and works for me too.
|
CC/ @rubys |
Swap space now has to be set via the |
Have you experienced this bug with the latest version of the template?
yes
Steps to Reproduce
Follow the steps as they're specified here
Expected Behavior
The deployment is completed successfully
Actual Behavior
The following exception is thrown on the Fly.io machine during the prisma migrate deploy
The solution is to scale the machine memory to 1024
fly scale memory 1024
Which is a bit frustrating as this memory is only going to be needed during deployment.
The text was updated successfully, but these errors were encountered: