Closed William-An closed 3 years ago
Another possible helpful article from box: https://blog.box.com/how-we-improved-webpack-build-performance-95
Update: insufficient memory might due to the app and db taking about ~1GB of RAM and other two applications take about ~200MB, leaving the system insufficient memory to run build scripts
Resloved, use GitHub action to build the script and upload to server via scp
What is this bug related to?
frontend
How urgent is the bug?
Should be fixed within the next version (after alpha v1) development cycle
Describe the bug
webpack
build production process took as high as 43% memory on the test sever with 2GB RAM, which result only ~30MB available RAM for the systemTo Reproduce
Expected behavior
Additional context
Possible resource: https://webpack.js.org/guides/build-performance/