描述
<--- Last few GCs --->
<--- JS stacktrace --->
解决方案
1、清除运行缓存。因项目运行过程中造成了缓存,未及时释放导致。
npm cache verify (低版本)
npm cache clear --force
npm cache clear --force && npm install --no-shrinkwrap --update-binary
2、增加node运行内存(一般在package.json中配置)
node --max_old_space_size=5048