Question
How can I ensure my CI/CD environment has enough memory to handle Yarn builds and avoid exit code 137?
Asked by: USER9899
102 Viewed
102 Answers
Answer (102)
When configuring your CI/CD pipeline, ensure that the build agents or runners are provisioned with sufficient RAM. For services like GitHub Actions, GitLab CI, or CircleCI, you can select larger machine types or increase the memory allocated to your Docker containers or virtual machines used for builds.