Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack 3 - 从优化到放弃 | Lucius's Blog #17

Open
Lucius0 opened this issue Sep 15, 2019 · 0 comments
Open

Webpack 3 - 从优化到放弃 | Lucius's Blog #17

Lucius0 opened this issue Sep 15, 2019 · 0 comments

Comments

@Lucius0
Copy link
Owner

Lucius0 commented Sep 15, 2019

https://lucius0.github.io/2019/08/17/archivers/webpack3-optimize/

背景某一天,我突然发现构建项目会经常失败,直接报错:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory,这个错误很明显就是内存不足导致的构建失败。由于项目是在CI / CD 上构建的,而在此期间运维又调整了一下资源上限,因此什么原因导致的还得进一步排查,是由于真的内存不足还是存在内存

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant