react项目内存溢出,加大内存的方式之一 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
在 package.json 文件下加入
"start": "set NODE_OPTIONS=--max_old_space_size=4096&&webpack-dev-server --inline",