📌  相关文章
📜  达到堆限制分配失败 - JavaScript 堆内存不足 nodejs - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:09.253000             🧑  作者: Mango

代码示例1
create swap memory

https://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/

After that set the environment variable

export NODE_OPTIONS=--max_old_space_size=4096