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: Memory leak in keyboard variables? Date: Thu, 11 Dec 2008 15:43:01 -0500 Message-ID: <8763lqcuju.fsf@stupidchicken.com> References: <87d4fzh0qc.fsf@cyd.mit.edu> <87y6ymiw93.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 1229053339 28182 80.91.229.12 (12 Dec 2008 03:42:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 03:42:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 04:43:23 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 1LAyvz-0008KF-G7 for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2008 04:43:23 +0100 Original-Received: from localhost ([127.0.0.1]:37239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAyuo-00056y-1Z for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2008 22:42:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAyuh-00056c-Ov for emacs-devel@gnu.org; Thu, 11 Dec 2008 22:42:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAyuf-00056F-Lg for emacs-devel@gnu.org; Thu, 11 Dec 2008 22:42:02 -0500 Original-Received: from [199.232.76.173] (port=35010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAyuf-00056C-Gk for emacs-devel@gnu.org; Thu, 11 Dec 2008 22:42:01 -0500 Original-Received: from c-71-235-91-189.hsd1.ct.comcast.net ([71.235.91.189]:59164 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LAyuf-0002lY-8a for emacs-devel@gnu.org; Thu, 11 Dec 2008 22:42:01 -0500 Original-Received: by furry (Postfix, from userid 1000) id 6E0DEC056; Thu, 11 Dec 2008 15:43:01 -0500 (EST) In-Reply-To: <87y6ymiw93.fsf@cyd.mit.edu> (Chong Yidong's message of "Thu, 11 Dec 2008 10:09:44 -0500") 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-Greylist: delayed 4201 seconds by postgrey-1.27 at monty-python; Thu, 11 Dec 2008 22:42:00 EST 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:106828 Archived-At: Chong Yidong writes: > I see. Some Lisp_Objects associated with this code are definitely being > leaked, though. As it turns out, the majority of the memory leak reported in bug#1504 actually occurs outside Lisp. Basically, term.c was not freeing the face cache upon frame deletion, unlike the other terminals. The Lisp leak I discussed in my earlier message is real, but it is about an order of magnitude less severe (and remains unsolved).