From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 1 19:53:48 2006 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B68B016A420 for ; Wed, 1 Feb 2006 19:53:48 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from centrmmtao05.cox.net (centrmmtao05.cox.net [70.168.83.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2189B43D55 for ; Wed, 1 Feb 2006 19:53:47 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by centrmmtao05.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060201195351.IBYK5868.centrmmtao05.cox.net@mezz.mezzweb.com>; Wed, 1 Feb 2006 14:53:51 -0500 Date: Wed, 01 Feb 2006 13:55:15 -0600 To: "Randy Bush" References: <17375.24772.558397.969525@roam.psg.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <17375.24772.558397.969525@roam.psg.com> User-Agent: Opera M2/8.51 (Linux, build 1462) Cc: freebsd gnome Subject: Re: firefox leakage X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 19:53:48 -0000 On Tue, 31 Jan 2006 07:06:12 -0600, Randy Bush wrote: > i386, freebsd 7-current, ibm thinkpad t41 > > i have tracked a major memory leak (2g in a day, resulting in crash) > to the current build firefox. result of top -S -osize > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 2166 randy 4 20 0 166M 108M kserel 3:51 0.00% > firefox-bin > 1343 randy 1 96 0 126M 83500K select 2:44 2.00% Xorg > 1394 randy 4 20 0 102M 51456K kserel 0:08 0.00% > nautilus > > and five hours later > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 1343 randy 1 102 0 334M 277M select 10:06 15.28% Xorg > 12780 randy 4 20 0 149M 85364K kserel 0:27 0.00% > firefox-bin > 1394 randy 4 20 0 102M 51420K kserel 0:11 0.00% > nautilus > > notice the growth in xorg and only xorg > > so i ran xrestop and it's all firefox > > res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID > Identifier > 5400000 532 44 1 12216 155 385312K 18K 385330K ? > International > 3a00000 0 0 0 1 0 2887K 0B 2887K ? > ox > > International is an open firefox tab. if i close that one, the excess > is just charged to a different tab. > > and it just keeps growing and growing and growing and ... I am not sure if it will be easy to debug to see how it leaks. There are several ways that can cause Firefox to leak a lot of memory such as plugins, extensions, javascript or whatever. Even in Linux and Windows, there are several users that usually complain about how much Firefox uses memory and leak often. Maybe you can get more info if you rebuild Firefox with WITH_DEBUG=yes, unless you already have and not help. Try to disable plugins and other stuff to narrow it down. Cheers, Mezz > randy -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org