Error AtlasError Documentation and Resolution

Cloud Run container instance was using too much memory and was terminated

While handling this request, the container instance was found to be using too much memory and was terminated.

Cloud Run terminated the container because the instance exceeded its available memory while processing a request, often resulting in HTTP 500 or 503 responses.

While handling this request, the container instance was found to be using too much memory and was terminated.runtime
While handling this request, the container instance was found to be using too much memory and was terminated.
  • The application exceeds its available memory during request handling.
  • There is a memory leak or an unexpectedly large in-memory workload.
  • Files written to the local filesystem are consuming the container memory budget.
  1. Profile the application to identify unusually high memory use or leaks.
  2. Reduce in-memory processing and avoid writing large temporary files locally.
  3. Increase the Cloud Run memory limit if the workload legitimately needs more memory.
Google Cloud: Troubleshoot Cloud Run issues
Cloud Run container was using too much memory and was terminated: causes and fixes | Error Atlas