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.

We have a blog post about memory issues related to builds that are using Java


With CircleCI 2.0, you can use the resource_class configuration option to control the available resources for your build containers:


resource_class must be enabled on your account before you can use it. Submit a support ticket requesting this feature, and we'll enable it for your project. 

Was this article helpful?
12 out of 21 found this helpful



Please sign in to leave a comment.