0

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
  • 592
  • 1
  • 11

1 Answers1

1

Try this command for build

node --max_old_space_size=16192 node_modules/@angular/cli/bin/ng build --prod
LogicBlower
  • 1,082
  • 1
  • 7
  • 11