From owner-freebsd-x11@FreeBSD.ORG Fri Jan 4 08:17:19 2008 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F09916A41A for ; Fri, 4 Jan 2008 08:17:19 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-36.bluehost.com (outbound-mail-36.bluehost.com [69.89.20.190]) by mx1.freebsd.org (Postfix) with SMTP id 34B5313C468 for ; Fri, 4 Jan 2008 08:17:19 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 545 invoked by uid 0); 4 Jan 2008 07:50:39 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy2.bluehost.com with SMTP; 4 Jan 2008 07:50:39 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JAhKB-0005uf-Hb for x11@freebsd.org; Fri, 04 Jan 2008 00:50:39 -0700 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id m047oc93025607 for ; Fri, 4 Jan 2008 00:50:38 -0700 (MST) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id m047obju025606 for x11@freebsd.org; Fri, 4 Jan 2008 00:50:37 -0700 (MST) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Fri, 4 Jan 2008 00:50:37 -0700 From: Chad Perrin To: x11@freebsd.org Message-ID: <20080104075037.GA25510@demeter.hydra> Mail-Followup-To: x11@freebsd.org References: <477BBB39.6070208@FreeBSD.org> <20080102182923.GM903@server.vk2pj.dyndns.org> <477C1750.9050506@FreeBSD.org> <20080103184014.GP947@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080103184014.GP947@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} Cc: Subject: Re: Xorg memory leak X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 08:17:19 -0000 On Fri, Jan 04, 2008 at 05:40:14AM +1100, Peter Jeremy wrote: > On Wed, Jan 02, 2008 at 05:59:28PM -0500, Coleman Kane wrote: > >It seems that while my terminal window remains relatively small (around > >80x30 characters), there doesn't seem to be any impact. However, if I > >drag the window border to expand the size of it (to like 220x70 or > >something), then it starts to chew up memory from the Xorg process. It > >can sometimes get so bad as to take ~100MB per second at times. Normal > >xterm does not seem to exhibit this behavior. One thing that I've > >noticed is that the memory-eating seems to coincide with the point where > >the gnome-terminal window's redraw rate starts to lag from the window > >being far too large. > > That's an interesting comment. Does gnome-terminal have any equivalent > to the '+s' (synchronous) option on xterm and, if so, does that have any > effect? > > >It won't go back down until Xorg is actually closed. > > I think this implies that it's a bug in the X server because otherwise > the resources would be released when the offending client is closed. Actually . . . since GNOME is basically just a bunch of shared libraries plus glue code, most of which are apparently loaded into RAM at any given time, it's entirely possible it's a GNOME problem. I oversimplify, but I think you get the gist. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] awj @reddit: "The terms never and always are never always true."