From owner-freebsd-ports@freebsd.org Fri Sep 15 12:53:32 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14D7AE14617 for ; Fri, 15 Sep 2017 12:53:32 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAE04662D9 for ; Fri, 15 Sep 2017 12:53:31 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud9.xs4all.net with ESMTP id sq6WdFCqrmRxPsq6XdfL7H; Fri, 15 Sep 2017 14:52:21 +0200 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v8FCqI7d013993 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 15 Sep 2017 14:52:19 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Fri, 15 Sep 2017 14:52:18 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: Andrea Venturoli cc: freebsd-ports@FreeBSD.org Subject: Re: FireFox memory usage In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CMAE-Envelope: MS4wfAPesEj4e9Igo7eO6wmwQaZjVqlgSJgElMT449of0aaNNzbt2M7TYcLV8N6/JEts7rsktRx13A2u62c9BAoW7LWmBgFJGOHOZ3+eH4AyAVw7k+Oyz5CN sJTn/ivnp+putoofHnyOOBoAwlzUPiNiMaDgqfGV8dBIhX/yX56XSPQkB91lSpc2wBOXjI0lLe46+A== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 12:53:32 -0000 On Fri, 15 Sep 2017, the wise 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. > > bye & Thanks > av. I also use ff-esr on an old machine with 4GB RAM. It starts with 2 processes, one uses ~300MB (RES) and one ~150MB. It doubles in size quite quickly after some browsing (especially something like Facebook or Linkedin). When watching YT videos it grows to ~1GB. The SIZE column is ~1.5GB here. Note that the only add-on I use is uBlock Origin. Although I think these sizes have become quite ridiculous, I never saw memory usage that big. But I have to say I usually close FF if memory usage gets out of hand. Regards, Marco -- A political man can have as his aim the realization of freedom, but he has no means to realize it other than through violence. -- Jean-Paul Sartre