From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evil Boris Newsgroups: gmane.emacs.devel Subject: Re: Memory leak Date: Fri, 23 May 2008 09:54:44 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211550919 30986 80.91.229.12 (23 May 2008 13:55:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 13:55:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 23 15:55:58 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 1JzXkT-0002rd-5r for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 15:55:57 +0200 Original-Received: from localhost ([127.0.0.1]:60291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzXji-0005lS-M4 for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 09:55:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzXje-0005ir-Dg for emacs-devel@gnu.org; Fri, 23 May 2008 09:55:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzXjc-0005fC-8i for emacs-devel@gnu.org; Fri, 23 May 2008 09:55:05 -0400 Original-Received: from [199.232.76.173] (port=57360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzXjc-0005f0-4L for emacs-devel@gnu.org; Fri, 23 May 2008 09:55:04 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:56300 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 1JzXjb-0004en-VK for emacs-devel@gnu.org; Fri, 23 May 2008 09:55:04 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JzXjT-0001kn-Pf for emacs-devel@gnu.org; Fri, 23 May 2008 13:54:56 +0000 Original-Received: from 207-38-194-119.c3-0.wsd-ubr5.qens-wsd.ny.cable.rcn.com ([207.38.194.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 May 2008 13:54:55 +0000 Original-Received: from evilborisnet by 207-38-194-119.c3-0.wsd-ubr5.qens-wsd.ny.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 May 2008 13:54:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 207-38-194-119.c3-0.wsd-ubr5.qens-wsd.ny.cable.rcn.com User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (windows-nt) Cancel-Lock: sha1:gn/6gmO1qR8018LjZ5lvxo7l/kg= 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:97589 Archived-At: "Evil Boris" writes: > I do not know if this is related, but sometime after January (around > Unicode merge) I noticed that, after running for a while (have not > been able to notice when precisely this happens, but seems to require > having at least one X frame, sometimes happens within a few minutes of > starting), Emacs starts occupying 190-250Mb of memory. Since I > usually edit smallish files (<50-100K) and not too many of them (<10, > generally), the only candidate for "eating space" is my RMAIL file, > which is around 30Mb. I just checked, with a recent version from CVS [GNU Emacs 23.0.60.9 (sparc-sun-solaris2.7, X toolkit) of 2008-05-21 on ziggy], with no X frames ever opened, playing almost exclusively with a few small files, with the sole exception of my 30Mb mailbox, top shows: PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 1754 ... 1 58 0 174M 172M sleep 4:59 0.00% emacs 174Mb again? Any ideas? Any code I can run to try to see what the memory is being being used for? --Boris