-1

I'm using Angular 8.2. When I build project on vps server , I'm facing the following issue:

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory What does that mean? How do I fix that? The full error message is: FATAL ERROR: Ineffective ...
Dako patel
  • 760
  • 4
  • 13

1 Answers1

1

Try this command for build

node --max_old_space_size=16192 node_modules/@angular/cli/bin/ng build --prod
LogicBlower
  • 1,250
  • 1
  • 8
  • 14