DEV Community

Discussion on: Fix of Angular-cli 'JavaScript heap out of memory' error while running 'ng serve'

Collapse
 
jonyadamit profile image
Jonathan Adamit

Thanks!
Option #3: Set it as an environment variable.
SET NODE_OPTIONS=--max_old_space_size=8048

Collapse
 
andreisfedotov profile image
Andrei Fedotov

Thanks for sharing! I added it into the note.