On 11/05/2020 10.00, 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.
I remember we did, yes. But that time my Tw swapped, and now I have ram to spare. Previously I assumed that the sluggishness was due to having to retrieve areas from swap, when needed.
My own TB :
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9381 per 20 0 3911224 479812 55616 S 0.000 11.90 205:57.21 thunderbird-bin
(4 IMAP accounts).
Any chance the memory usage might be dependent on the setup - IMAP or POP accounts, indexing etc ?
Will it not simply go into swaping? You have to tell top to also display swap. Display fields (f), navigate to the swap entry, activate it, then move the column where you like. Then possibly write as default. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)