Skip to content

Heap Out Of Memory - Build failed for staging environment on a Rails App #485

Answered by ElMassimo
devsheva asked this question in Q&A
Discussion options

You must be logged in to vote

It's likely that your Mac is not configured to provide enough memory to Node JS processes by default.

See this answer, or this post related to Webpack, and consider setting NODE_OPTIONS=--max_old_space_size=4096 in your terminal session by default. You may adjust the limit based on the app that you are attempting to build.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@devsheva
Comment options

@ElMassimo
Comment options

Answer selected by devsheva
@devsheva
Comment options

@devsheva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug: pending triage Something doesn't seem to be working, but hasn't been verified
2 participants
Converted from issue

This discussion was converted from issue #463 on July 24, 2024 13:39.