[Bug 263436] www/firefox uses excessive amount of memory

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 May 2022 23:42:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263436

--- Comment #6 from Josef 'Jeff' Sipek <jeffpc@josefsipek.net> ---
(In reply to Lena from comment #5)

Interesting idea to use limits.

Setting the limit to 4GB works to keep the *sum* of all the firefox processes'
resident sizes under 4GB, but the main process's resident size is slowly
growing (as before).  So, while 2 days ago (shortly after restarting firefox)
the main process accounted for ~750MB (~18% of 4GB) now it is 1560MB (38%).  As
a result, firefox keeps fewer process alive as time goes by.

I don't know if it will stop growing at some point, but if it doesn't the main
process will hit the 4GB limit on its own. :)

Oh, and the virtual size of the main process is still ridiculous 13GB, but I
suppose that doesn't matter that much.  (Yes, I'm making a few assumptions
about firefox's memory usage and FreeBSD kernel's handling of memory in that
statement.)

-- 
You are receiving this mail because:
You are the assignee for the bug.