From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Memory leak Date: Fri, 16 May 2008 01:06:22 +0200 Message-ID: <85lk2b1829.fsf@lola.goethe.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210892827 1862 80.91.229.12 (15 May 2008 23:07:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 23:07:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 16 01:07:43 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 1JwmXb-0006X2-AA for ged-emacs-devel@m.gmane.org; Fri, 16 May 2008 01:07:15 +0200 Original-Received: from localhost ([127.0.0.1]:36136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwmWr-00019t-Q4 for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 19:06:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwmWo-00019o-66 for emacs-devel@gnu.org; Thu, 15 May 2008 19:06:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwmWm-00019c-L0 for emacs-devel@gnu.org; Thu, 15 May 2008 19:06:25 -0400 Original-Received: from [199.232.76.173] (port=44956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwmWm-00019Z-ID for emacs-devel@gnu.org; Thu, 15 May 2008 19:06:24 -0400 Original-Received: from mail-in-04.arcor-online.net ([151.189.21.44]:60537) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JwmWm-0000M0-4L for emacs-devel@gnu.org; Thu, 15 May 2008 19:06:24 -0400 Original-Received: from mail-in-11-z2.arcor-online.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id B307317F47B; Fri, 16 May 2008 01:06:22 +0200 (CEST) Original-Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-11-z2.arcor-online.net (Postfix) with ESMTP id A148D3465A8; Fri, 16 May 2008 01:06:22 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-044-237.pools.arcor-ip.net [84.61.44.237]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 7E90736E86D; Fri, 16 May 2008 01:06:22 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 29A0D1C464F7; Fri, 16 May 2008 01:06:22 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Thu, 15 May 2008 18:50:29 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/7131/Thu May 15 22:18:05 2008 on mail-in-02.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:97228 Archived-At: Stefan Monnier writes: > We have a pretty serious memory leak. > My Emacs session recently died with a memory full situation (the > process was around 500MB VSZ). So I took a look around and it seem that > every time I create a new frame, my Emacs session grows by around 10MB > and deleting the frame does not recover this memory. > This memory is not accounted for by the counts returned by > `garbage-collect'. > > I'm not sure when this problem got introduced, tho the new font code is > a likely culprit. Just to rule out something obvious (pure space overflow): M-: (garbage-collect) RET does not return nil, does it? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum