Exit code 137 - Out of memory

This is a Linux error code which you may see on CircleCI when your container runs out of memory. Containers are given 4GB of RAM by default. If your build process consumes all of the container memory, your build will fail.

For memory issues related to builds that are using Java, please see this blog post.

If your jobs are using Android, please reference our FAQ on Common Android Memory Issues for tips on limiting memory usage. 

With the Performance Plan, you can use the resource_class configuration option to control the available resources for your build containers. 

Was this article helpful?
15 out of 27 found this helpful

Comments

0 comments

Article is closed for comments.