From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Memory leak in keyboard variables? Date: Wed, 17 Dec 2008 13:40:05 +0900 Message-ID: <877i5z1kka.fsf@xemacs.org> References: <87d4fzh0qc.fsf@cyd.mit.edu> <87y6ymiw93.fsf@cyd.mit.edu> <8763lqcuju.fsf@stupidchicken.com> <87bpvccirc.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229488542 17766 80.91.229.12 (17 Dec 2008 04:35:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 04:35:42 +0000 (UTC) Cc: Markus Triska , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 17 05:36:47 2008 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 1LCo9N-0001pR-QY for ged-emacs-devel@m.gmane.org; Wed, 17 Dec 2008 05:36:46 +0100 Original-Received: from localhost ([127.0.0.1]:60384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCo8B-0005fp-UB for ged-emacs-devel@m.gmane.org; Tue, 16 Dec 2008 23:35:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCo87-0005cf-6T for emacs-devel@gnu.org; Tue, 16 Dec 2008 23:35:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCo85-0005Zk-LO for emacs-devel@gnu.org; Tue, 16 Dec 2008 23:35:26 -0500 Original-Received: from [199.232.76.173] (port=38277 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCo85-0005ZQ-B6 for emacs-devel@gnu.org; Tue, 16 Dec 2008 23:35:25 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:50297) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCo84-0006hW-TD for emacs-devel@gnu.org; Tue, 16 Dec 2008 23:35:25 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 3082E1535B3; Wed, 17 Dec 2008 13:35:23 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 9E59E1A2676; Wed, 17 Dec 2008 13:40:05 +0900 (JST) In-Reply-To: <87bpvccirc.fsf@cyd.mit.edu> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 83e35df20028+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:106994 Archived-At: Chong Yidong writes: > Markus Triska writes: > > > Please also try emacsclient with "-c" instead of "-t" - there seems to > > be a probably different and still quite big leak there as will. > > With the recent fix to font_clear_cache, the leak is reduced to 30-40k > per frame. This leak seems to be tied to GTK and X toolkits somehow. > It does not appear when Emacs is compiled with --with-x-toolkit=no. The toolkits undoubtedly do their own font caching, and probably won't release the space until Emacs exits.