The Out-Of-Memory (OOM) Killer is a Linux kernel process that selectively terminates applications to free up memory when the system is critically low on available RAM. It is invoked as a last resort when all other memory reclamation efforts, such as garbage collection and cache eviction, have failed to prevent an out-of-memory condition. The kernel calculates an oom_score for each process based on its memory usage, runtime, and priority to determine the optimal target for termination.
