Kingsfordweg 151, 1043GR Amsterdam, The Netherlands ● 24/7 support — support@novogara.com
Knowledge base

Reading an OOM kill

When memory runs out, the kernel kills a process to save the system. The log it leaves behind tells you what died and why, and points at how to prevent the next one.

What the kernel did and why

Out of memory and with swap exhausted, the kernel picks a process and kills it to recover. The victim is often not the real culprit — it may just be the largest — so read the log for total memory pressure, not only the name it killed.

Find the real cause

Decide whether one process leaked or grew without bound, or whether the box is simply under-provisioned for its normal peak. The memory trend in your monitoring leading up to the kill usually makes it obvious which — a slow climb versus a sudden spike.

Prevent the repeat

The fix is one of: fix the leak, cap the process with a memory limit so it cannot take the whole box, add memory, or leave more headroom. Swap buys a little grace but is no cure — see swap and the OOM killer.


Still stuck? Mail support@novogara.com — an engineer answers, at any hour. Back to the knowledge base