From owner-freebsd-ports@freebsd.org Fri Sep 15 11:41:59 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 76980E101A7 for ; Fri, 15 Sep 2017 11:41:59 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp206.alice.it (smtp206.alice.it [82.57.200.102]) by mx1.freebsd.org (Postfix) with ESMTP id 0606F63920 for ; Fri, 15 Sep 2017 11:41:58 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (79.25.179.2) by smtp206.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 59A66B6F027966E4 for freebsd-ports@FreeBSD.org; Fri, 15 Sep 2017 13:36:00 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id v8FBZuM8038022 for ; Fri, 15 Sep 2017 13:35:59 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: freebsd-ports@FreeBSD.org From: Andrea Venturoli Subject: FireFox memory usage Message-ID: Date: Fri, 15 Sep 2017 13:35:51 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 11:41:59 -0000 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.