From owner-freebsd-current@FreeBSD.ORG Tue Oct 31 22:39:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85CA316A403 for ; Tue, 31 Oct 2006 22:39:03 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD0B043D53 for ; Tue, 31 Oct 2006 22:39:02 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([165.236.175.187]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k9VMcr8X057802; Tue, 31 Oct 2006 15:38:59 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <4547D077.4070609@samsco.org> Date: Tue, 31 Oct 2006 15:38:47 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <4146.1162284788@critter.freebsd.dk> <20061031172100.to3w8eww00kw84kk@webmail.leidinger.net> In-Reply-To: <20061031172100.to3w8eww00kw84kk@webmail.leidinger.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: Peter Jeremy , Poul-Henning Kamp , current@freebsd.org Subject: Re: Xorg leaking memory on -current... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 22:39:03 -0000 Alexander Leidinger wrote: > Quoting Poul-Henning Kamp (from Tue, 31 Oct 2006 > 08:53:08 +0000): > >>> Do you have any long-running clients? X clients can store objects in >>> the server and some web browsers have been known to simulate Xserver >>> leaks. >> >> >> It certainly correlates with firefox, but restarting firefox does >> not relieve the memory pressure. > > > FWIW: On Solaris I also see firefox eating memory. After several days > with several open tabs with several pictures in each page (for example > BigBrother and similar stuff) it eats up a lot of swap. After closing > firefox, it frees some memory (the one firefox itself has eaten up), > but not the memory the X server has eaten up. When I closed firefox > several times, X has eaten too much and everything (on the desktop) > comes to a crawl (more or less). Restarting the X server (xorg BTW) > everything is back to normal. > > AFAIK it's a know firefox bug which isn't even fixed in firefox 2.0 > (despite a lot of requests from users). > > Bye, > Alexander. > I think that the Firefox behaviour is actually considered a feature. Both Mozilla and Firefox appear to cache everything they can, without bounds. If you tweak a hidden pref to turn off caching, the 'leak' goes away. Scott