Closed xuanxuan321 closed 4 years ago
有可以复现的仓库么?
Hello @xuanxuan321
为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为无复现步骤或可复现仓库而被自动关闭,提供之后会被 REOPEN。
In order to communicate effectively, we have a certain format requirement for the issue, your issue is automatically closed because there is no recurring step or reproducible warehouse, and will be REOPEN after the offer.
What happens?
使用umi脚手架装的ant-design-pro,执行npm run analyse的时候node 内存溢出,即使我在analyze的脚本中加了--max-old-space-size=4000也不起作用,(
"analyze": "cross-env --max-old-space-size=4000 ANALYZE=1 umi build",
),下面是我的config.plugin.js主要问题处在splitChunks的配置,但是我不知道我这个配置为什么会导致node内存溢出,有什么办法是内存不溢出吗?或者能让我手动加大node能占用的内存也行
Context