rfjakob / earlyoom

earlyoom - Early OOM Daemon for Linux
MIT License
2.96k stars 157 forks source link

Add option to kill processes that consume the most memory instead of oom_score_adj #314

Closed matejdro closed 6 months ago

matejdro commented 7 months ago

Simply sorting the processes by used memory and killing the biggest memory hogs instead of relying on oom_score_adj should workaround issues like #261

rfjakob commented 7 months ago

earlyoom v1.8 has --sort-by-rss

On Fri, 19 Apr 2024, 10:08 Matej Drobnič, @.***> wrote:

Simply sorting the processes by used memory and killing the biggest memory hogs instead of relying on oom_score_adj should workaround issues like

261 https://github.com/rfjakob/earlyoom/issues/261

— Reply to this email directly, view it on GitHub https://github.com/rfjakob/earlyoom/issues/314, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACGA77J7HSUXLB45SAPFITY6DGJFAVCNFSM6AAAAABGOWRSLOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TEMZWGA2DMNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

matejdro commented 6 months ago

Oh wow that's recent. Thanks!