Date: Fri, 2 Jul 2021 08:56:10 +0200 From: Daniel Ebdrup Jensen <debdrup@FreeBSD.org> To: freebsd-hackers@freebsd.org Subject: Re: firefox is slow and uses a lot of memory Message-ID: <20210702065610.df7pdqutdkvixpgb@nerd-thinkpad.local> In-Reply-To: <37fe2be4-a142-c49e-e1b0-0e9a8fd07a74@freebsd.org> References: <37fe2be4-a142-c49e-e1b0-0e9a8fd07a74@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--6odkw25y2ax7qlsq Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 01, 2021 at 12:49:15PM -0700, Craig Leres wrote: >Starting with firefox 89 or so, I've found it starts using a LOT of=20 >memory and actually makes the system sluggish and causes momentary X=20 >freezes. I have 32G of ram/swap, is it reasonable for firefox to use=20 >15G? > > Craig [SNIP] Hi folks, I can't help but wonder if this is because of the link-time optimization that was enabled rather recently (with v88, if memory serves). Perhaps you can investigate this? If you just want to mitigate it, there's two ways of achieving it: You can either use limits(1) or use resource control via rctl(8). The second option does mean that you either have to limit the memory use of your user account, or run Firefox in a jail, but using [1] makes that relatively easy. Yours, Daniel Ebdrup Jensen 1: https://wiki.freebsd.org/JailingGUIApplications --6odkw25y2ax7qlsq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEDonNJPbg/JLIMoS6Ps5hSHzN87oFAmDeuIpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDBF ODlDRDI0RjZFMEZDOTJDODMyODRCQTNFQ0U2MTQ4N0NDREYzQkEACgkQPs5hSHzN 87o7fgf/bB7PKa42066ZhEjyXyIpMMaCU3BpUA6B6/tYbpnxd3wFKkkE91biN83Z XHRJmgWrB8Wr530PR7yNxiXHmQVgQiCRqI2UNsq/sxintJhAqFGAoM4MUUqbwLUo lC+4kBlQkZYOQsiK3b9SZIsVRvpp5etEaDStzF7mzmfFzEAl8zpTdYSZPgf7nUN0 WgZK17SlBfei+CrWpSVZ/eSx/7vlXXyrztn3YoSGahZHJUFMJXOnd+OqAPpvtYsf kAVmA4mI5SvOpSOrBpkiw95Sga5BKkeDW+dztcDg/yXDagDCANjxTItLmAPUSXN9 SuDtZsKrY4cjsBO9s0R83w99abD1xA== =K/uS -----END PGP SIGNATURE----- --6odkw25y2ax7qlsq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210702065610.df7pdqutdkvixpgb>