From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#6230: 23.2; Pixmaps kept in X11 after (svg?) images no longer are used Date: Thu, 20 May 2010 16:32:18 -0400 Message-ID: <87k4qyuxf1.fsf@stupidchicken.com> References: <4BF557EE.4050400@0x63.nu> <87r5l6v6hg.fsf@stupidchicken.com> <4BF59689.7020003@0x63.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274389033 31371 80.91.229.12 (20 May 2010 20:57:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 May 2010 20:57:13 +0000 (UTC) Cc: 6230@debbugs.gnu.org To: Anders Waldenborg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 20 22:57:12 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFCnl-0005NB-Nh for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 22:57:10 +0200 Original-Received: from localhost ([127.0.0.1]:58984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFCnl-0008U0-An for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 16:57:09 -0400 Original-Received: from [140.186.70.92] (port=58540 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFCne-0008Te-Uh for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 16:57:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFCnd-0002ZN-2o for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 16:57:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47100) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFCnd-0002ZH-0o for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 16:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFCQR-0000b7-90; Thu, 20 May 2010 16:33:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 May 2010 20:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6230 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6230-submit@debbugs.gnu.org id=B6230.12743875462284 (code B ref 6230); Thu, 20 May 2010 20:33:03 +0000 Original-Received: (at 6230) by debbugs.gnu.org; 20 May 2010 20:32:26 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFCPp-0000am-Mo for submit@debbugs.gnu.org; Thu, 20 May 2010 16:32:26 -0400 Original-Received: from pantheon-po31.its.yale.edu ([130.132.50.82]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFCPo-0000ag-8W for 6230@debbugs.gnu.org; Thu, 20 May 2010 16:32:24 -0400 Original-Received: from furry (dhcp128036014213.central.yale.edu [128.36.14.213]) (authenticated bits=0) by pantheon-po31.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o4KKWIKX020257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 20 May 2010 16:32:18 -0400 Original-Received: by furry (Postfix, from userid 1000) id 2A11B16D427; Thu, 20 May 2010 16:32:18 -0400 (EDT) In-Reply-To: <4BF59689.7020003@0x63.nu> (Anders Waldenborg's message of "Thu, 20 May 2010 22:07:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 May 2010 16:33:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37111 Archived-At: Anders Waldenborg writes: > However I can't see that it is done every 100 redisplays. If it were I > would expect the code below to never create more than 100 (+ the ones > that were there before it started) pixmaps in X11. Letting it run > while writing this mail it now has reached above 3000 pixmaps > according to xrestop. Oh, yes, I forgot. There is image-cache-eviction-delay as well. If you set this to a sufficiently small number, the test frees the pixmaps as required. Is there a specific reason you are interested in this problem? It's possible that we need to improve the conditions under which the image cache is freed, but it's hard to tell unless we have a use-case in mind. (Obviously, the current system assumes that the rate at which images are created is much lower than the "usual editing speed".)