Auto kill memory leaking processes before swap death loop

I’m using linux mint 21.3, and a process (brave aka chrome) sometimes memory leaking, so eats all the RAM, and then linux goes into swap death loop, when everything freezes (sometimes the mouse cursor is moving), and nothing can’t be done, i can just see the HDD led blinking, and do a reset. Is there a way to make the system...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • PowerRangers
  • khanakhh
  • Youngstown
  • everett
  • slotface
  • rosin
  • vwfavf
  • hgfsjryuu7
  • kavyap
  • osvaldo12
  • thenastyranch
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • anitta
  • Durango
  • GTA5RPClips
  • InstantRegret
  • tacticalgear
  • cubers
  • ngwrru68w68
  • ethstaker
  • cisconetworking
  • tester
  • modclub
  • normalnudes
  • Leos
  • provamag3
  • All magazines