(In reply to Aleksey Kontsevich from comment #24) > Set -s 100 and added -p switch. -s PERCENT[,KILL_PERCENT] set free swap minimum to PERCENT of total (default 10 %). Send SIGKILL if at or below KILL_PERCENT (default PERCENT/2), otherwise SIGTERM. You can use -s 100 to have earlyoom effectively ignore swap usage: Processes are killed once available memory drops below the configured minimum, no matter much swap is free. -p Increase earlyoom���s priority: set niceness of earlyoom to -20 and oom_score_adj to -1000