On 5/11/20 5:30 PM, Per Jessen wrote:
David C. Rankin wrote:
Both thunderbird and firefox can use obnoxious amounts of memory. It is actually by design. I don't agree with the philosophy from a programming standpoint, but I understand it is a valid choice to make. Mozilla in general approaches memory management with the philosophy of:
"if it's available -- use it to speed up execution of the code". [snip] The problem with the mozilla approach is with computers now coming with huge amounts of memory 16G, 32G+, the overhead to scan through all of the memory allocated and in use -- takes time, and if swap is any way involved, that can be a LOT of time.
The solution seems obvious - restrict the amount memory available for TB to abuse, make it unavailable. ISTR that being discussed already ? It's easily done with cgroups.
On my old laptop I used to do this with firefox, it was pretty simple I just ran it as a systemd user service with the cgroup stuff enabled. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B