Skip to content

Instantly share code, notes, and snippets.

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

Revisions

  1. sipamungkas created this gist Jul 18, 2021.
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    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