When Azure DevOps encounters Angular project npm run build insufficient memory solution

213867293-ef8f6f95-fb1d-46e6-a178-879f6b

We have a large-scale Angular project. The CI in Azure Pipelines was smooth, but it became unstable a month ago and often hanged. The reason for the hangup was “insufficient memory”. In this article, I intend to share the Log content of this problem and provide a solution.

continue reading

This article is transferred from https://blog.miniasp.com/post/2023/01/22/Azure-DevOps-Angular-npm-run-build-JavaScript-heap-out-of-memory
This site is only for collection, and the copyright belongs to the original author.