OutOfMemoryError: Container killed due to memory usage on AWS batch job

I am using AWS ECS for for running a CI/CD job, but I am getting following error:

OutOfMemoryError: Container killed due to memory usage

The same job, when run with container on separate EC2, runs fine. How can I troubleshoot this?

1

1 Answer

Try to go through the following article by AWS: .

I'd suggest looking into the latest changes after which this issue started (i am considering this used to work before).

If this is the first time you are deploying this, i'd recommend providing more memory to the container.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like