Best Fixes
Check whether the process was OOM-killed by the kernel or container runtime, then inspect memory limits and usage patterns.
If not memory-related, identify which supervisor, orchestrator, or manual action sent the kill signal.
Why processes die with signal-based termination and how to tell OOM kills from explicit stops.
Exit code 137 usually means the process received SIGKILL. In containers and CI, that often points to memory pressure, but it can also come from an orchestrator or operator killing the process directly.
Check whether the process was OOM-killed by the kernel or container runtime, then inspect memory limits and usage patterns.
If not memory-related, identify which supervisor, orchestrator, or manual action sent the kill signal.
Do not assume every 137 exit is an application bug without checking resource limits first.
Do not raise memory limits blindly if the process behavior is actually pathological.