Date: Fri, 2 Jul 2021 09:04:44 +0200 From: Michael Schuster <michaelsprivate@gmail.com> To: freebsd-hackers@freebsd.org Subject: Re: firefox is slow and uses a lot of memory Message-ID: <CADqw_gKDpWmU6CuJbKbY5uyO3hzLPyK%2BEZNbbnsqFuurTE2Umg@mail.gmail.com> In-Reply-To: <20210702065610.df7pdqutdkvixpgb@nerd-thinkpad.local> References: <37fe2be4-a142-c49e-e1b0-0e9a8fd07a74@freebsd.org> <20210702065610.df7pdqutdkvixpgb@nerd-thinkpad.local>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000a5556b05c61e923d Content-Type: text/plain; charset="UTF-8" On Fri, Jul 2, 2021 at 8:57 AM Daniel Ebdrup Jensen <debdrup@freebsd.org> wrote: > 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 > >memory and actually makes the system sluggish and causes momentary X > >freezes. I have 32G of ram/swap, is it reasonable for firefox to use > >15G? > just an idea: If you enabled "Restore previous session" and had a lot of stuff open when you left off the last time, perhaps you want to repeat this test with a "clean" session - probably the easiest would be using a different user account, though I'm sure firefox-savvy people will be able to show you ways of doing this with your own user account w/o having to dump your usual settings. This may show you whether it's an issue with firefox per se or the pages you loaded. HTH Michael > > > 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 > -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion' --000000000000a5556b05c61e923d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_gKDpWmU6CuJbKbY5uyO3hzLPyK%2BEZNbbnsqFuurTE2Umg>