A workload is terminated after a resource limit change

A workload restarts repeatedly and is terminated for running out of memory after you lower a memory limit below the real peak usage.

A workload restarts repeatedly after you lower a memory limit, and the container reports that it was terminated because it ran out of memory.

The memory limit is lower than the real peak usage of the workload.

Resolution

Restore the production default, or raise the limit above the observed peak usage. Validate every override against the telemetry of your environment before you apply it to production.