Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2017 19:46:04 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Andrea Venturoli <ml@netfence.it>, freebsd-ports@FreeBSD.org
Subject:   Re: FireFox memory usage
Message-ID:  <59BBCB8C.8060103@grosbein.net>
In-Reply-To: <a891f402-c392-4d2f-fc8d-a397c8d0ab72@netfence.it>
References:  <a891f402-c392-4d2f-fc8d-a397c8d0ab72@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15.09.2017 18:35, Andrea Venturoli wrote:
> Hello.
> 
> I'm on 10.3/amd64 with firefox-esr 52.3.0.
> 
> Since a few days my 4GiB desktop is crawling due to swap usage and 
> looking at top, I see FireFox using almost 7GiB of RAM (SIZE column), 
> 2.5 of which are "RES".
> 
> I don't think this is normal, since I'm not doing anything fancy (i.e. 
> running webapps or opening tenth of windows/tabs).
> 
> I've been using FF for several years and, while I recognize it's 
> constantly getting slower, more bloated and more resource hungry, I find 
> it hard to believe such a sudden rise in memory usage might be normal.
> 
> One suspect I have is some kind of memory leak, since closing FF and 
> reopening the same sites I had opened before will drop the RAM usage to 
> under 1GiB.
> 
> I'm lost at what to look at... I don't even know if it's an upstream or 
> FreeBSD problem.
> 
> I start by asking if anyone else is seeing this and/or if anything in 
> the way it is ported or in its dependencies could be the cause of this.

It leaks like female animal under Windows, too. This depends heavily on your
set of addons, though. For example, NoScript addon may provoke Javascript code
of sites to leak memory constantly retrying to get their garbage.
In such case, close/reopen a tab may help for some period of time.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59BBCB8C.8060103>