Score:0

How to limit Firefox RAM in Linux (Ubuntu) consumption without killing the process?

ru flag

For a very long time I can't find a solution to the problem of controlling the use of RAM by Firefox (and other programs) so that it works like the Firemin utility works in Windows, i.e. so that the process is not deleted when a certain threshold of RAM usage in the system is exceeded.

Is it possible to get clear instructions from specialists on how to configure this behavior for any program in Ubuntu?

There are different utilities (Earlyoom, Nohang, etc.), there is a cgroup, but as I understand it, everything eventually leads to the killing of the process and this is a rough decision, leading to an uncomfortable use of the same Firefox.

It is necessary to configure the restriction so that, for example, when the browser reaches the level of 700MB of RAM, this figure does not increase further and the browser continues its work correctly.

Nmath avatar
ng flag
What is the actual problem you are experiencing? RAM is designed to be used and the OS will put it to good use intelligently.
24601 avatar
in flag
Does [this resource](https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources) from mozilla help at all as regards Firefox?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.