Skip to content

内存溢出

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

NODE_OPTIONS=--max-old-space-size

目前的解决方式是使用 node 提供的选项,而不是另外安装一个依赖包。increase-memory-limit,这个依赖包是侵入式的,他会改动当前项目的全部.bin 命令,而且容易出现命令识别不出来的错误。

贡献者

The avatar of contributor named as ruan-cat ruan-cat
The avatar of contributor named as 阮喵喵 阮喵喵
The avatar of contributor named as 阮中楠 阮中楠
The avatar of contributor named as ruan-cat.台式机 ruan-cat.台式机
The avatar of contributor named as 阮中楠-台式电脑 阮中楠-台式电脑

页面历史