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

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.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest