Exit Code 137 Process Killed (SIGKILL / Memory)
In short: 137 stands for 128 + 9: the process was ended with SIGKILL, often by the OOM killer.
In more detail: Especially with containers (Docker) with a memory limit.
In Depth
Possible causes
- Too little memory.
- Manual
kill -9.
Solutions
- Reduce memory need or raise the limit.
- Check the OOM killer with
dmesgand logs. - Look for memory leaks in the program.