EMZETT.
Login

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

  1. Reduce memory need or raise the limit.
  2. Check the OOM killer with dmesg and logs.
  3. Look for memory leaks in the program.

See also: Docker, RAM, Linux