React project memory overflow, one of the ways to increase memory Ineffective mark-compacts near heap limit Allocation failed-JavaScript heap

 

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Add under the package.json file 

"start": "set NODE_OPTIONS=--max_old_space_size=4096&&webpack-dev-server --inline",

Guess you like

Origin blog.csdn.net/qq_36336332/article/details/102975594