From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.devel Subject: Re: Memory leak Date: Mon, 19 May 2008 15:34:20 +0200 Organization: disorganized Message-ID: <87iqxa1kpv.fsf@localhorst.mine.nu> References: <85lk2b1829.fsf@lola.goethe.zz> <482CD48E.3020601@gmail.com> <482D8332.5030908@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211204334 5923 80.91.229.12 (19 May 2008 13:38:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2008 13:38:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 19 15:39:33 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 1Jy5aF-0002HE-ME for ged-emacs-devel@m.gmane.org; Mon, 19 May 2008 15:39:23 +0200 Original-Received: from localhost ([127.0.0.1]:53263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jy5ZV-00065X-NS for ged-emacs-devel@m.gmane.org; Mon, 19 May 2008 09:38:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jy5ZO-00062l-Qb for emacs-devel@gnu.org; Mon, 19 May 2008 09:38:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jy5ZM-00061d-U7 for emacs-devel@gnu.org; Mon, 19 May 2008 09:38:30 -0400 Original-Received: from [199.232.76.173] (port=47289 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jy5ZM-00061W-Op for emacs-devel@gnu.org; Mon, 19 May 2008 09:38:28 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:56017 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jy5ZM-0003kp-Kx for emacs-devel@gnu.org; Mon, 19 May 2008 09:38:28 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jy5ZD-0007FV-Un for emacs-devel@gnu.org; Mon, 19 May 2008 13:38:19 +0000 Original-Received: from e178000083.adsl.alicedsl.de ([85.178.0.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 May 2008 13:38:19 +0000 Original-Received: from david.hansen by e178000083.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 May 2008 13:38:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178000083.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:nDlifJLxRyxwLFN7822irv4mKUc= X-detected-kernel: by monty-python.gnu.org: 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:97391 Archived-At: On Mon, 19 May 2008 17:05:42 +0900 Kenichi Handa wrote: > I've just installed a fix in font-cache handling. Now, even > when I create many new frames, the memory usage doesn't > increase that much. Though it still increases several > handreds K-bytes each time a new frame is created, and it is > not reduced when I delete the frames. So, I think there > still be a problem somewhere. I used to have two frames open in my emacs session, never create or destroy any other frames. Memory usage climbs to > 500M here after some hours of usage. I doubt it has much to do with frame creation. Will update right now and report back if your changes help. David