From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: X resource leak? Date: Fri, 16 Jan 2009 10:20:16 -0500 Message-ID: <878wpbz39r.fsf@cyd.mit.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232119222 8941 80.91.229.12 (16 Jan 2009 15:20:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2009 15:20:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 16 16:21:34 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LNqVf-0005EU-0I for ged-emacs-devel@m.gmane.org; Fri, 16 Jan 2009 16:21:23 +0100 Original-Received: from localhost ([127.0.0.1]:60811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNqUN-00050j-Uj for ged-emacs-devel@m.gmane.org; Fri, 16 Jan 2009 10:20:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNqUJ-00050e-SI for emacs-devel@gnu.org; Fri, 16 Jan 2009 10:19:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNqUI-00050G-6V for emacs-devel@gnu.org; Fri, 16 Jan 2009 10:19:59 -0500 Original-Received: from [199.232.76.173] (port=57191 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNqUI-00050C-29 for emacs-devel@gnu.org; Fri, 16 Jan 2009 10:19:58 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]:43960) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNqUH-0004K8-Ry for emacs-devel@gnu.org; Fri, 16 Jan 2009 10:19:57 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 7714757E205; Fri, 16 Jan 2009 10:20:16 -0500 (EST) In-Reply-To: (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Fri, 16 Jan 2009 03:59:09 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107900 Archived-At: > On a emacs session that is running for 2 days with light usage, xrestop > shows this: > > res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier > 2c00000 99 43 1 11251 11297 2445K 269K 2714K 5460 Emacs: *svn-st > > For a previous session, after 20 days, the numbers were even higher > (replace 11000 above with ~ 30000 pixmaps and misc objects). I just fixed a small X resource leak in CVS, but I'm not sure that's related to the numbers you're getting. I have not able to induce a leak of that magnitude. For instance, even if I create lots of new frames, closing those extra frames always brings the number of pixmaps allocated back to its original value. Could you do some experimentation to see what behavior is causing the allocation of so many pixmaps?