Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2017 15:49:56 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: FireFox memory usage
Message-ID:  <ingk-gjgb-wny@FreeBSD.org>
In-Reply-To: <a891f402-c392-4d2f-fc8d-a397c8d0ab72@netfence.it> (Andrea Venturoli's message of "Fri, 15 Sep 2017 13:35:51 %2B0200")
References:  <a891f402-c392-4d2f-fc8d-a397c8d0ab72@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrea Venturoli <ml@netfence.it> writes:

> 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".

Check about:memory and Devolper Tools -> Memory for clues. For more
advanced debugging (DMD, Refcount tracing) you'd need a custom build.

Firefox on FreeBSD is known to consume more memory than on other
platforms because it uses system jemalloc rather than mozjemalloc.
Mozilla doesn't test memory usage without mozjemalloc. However, porting
mozjemalloc has stalled[1] unless someone helps.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1153683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ingk-gjgb-wny>