Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sipamungkas/18bc949b317924a89ffb19a6d51358c3 to your computer and use it in GitHub Desktop.

Select an option

Save sipamungkas/18bc949b317924a89ffb19a6d51358c3 to your computer and use it in GitHub Desktop.
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory vue js build
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory vue js build
you can solve the problem with
export NODE_OPTIONS="--max-old-space-size=5120" #increase to 5gb
export NODE_OPTIONS="--max-old-space-size=6144" #increase to 6gb
export NODE_OPTIONS="--max-old-space-size=7168" #increase to 7gb
export NODE_OPTIONS="--max-old-space-size=8192" #increase to 8gb
choose one of them
source
https://stackoverflow.com/questions/53230823/fatal-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment