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: Sat, 17 May 2008 11:16:38 -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 1211037425 12207 80.91.229.12 (17 May 2008 15:17:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 May 2008 15:17:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 17 17:17:42 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 1JxOAH-0002a9-VG for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 17:17:42 +0200 Original-Received: from localhost ([127.0.0.1]:44337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxO9Y-0006F8-7u for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 11:16:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxO9T-0006F3-Vy for emacs-devel@gnu.org; Sat, 17 May 2008 11:16:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxO9S-0006Er-GQ for emacs-devel@gnu.org; Sat, 17 May 2008 11:16:50 -0400 Original-Received: from [199.232.76.173] (port=46236 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxO9S-0006Eo-Bq for emacs-devel@gnu.org; Sat, 17 May 2008 11:16:50 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:34276 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 1JxO9R-0005XQ-PZ for emacs-devel@gnu.org; Sat, 17 May 2008 11:16:50 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JxO9M-0005IX-OH for emacs-devel@gnu.org; Sat, 17 May 2008 15:16:44 +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 ; Sat, 17 May 2008 15:16:44 +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 ; Sat, 17 May 2008 15:16:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 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:sM4r2unT/Ghlb0wKWmDeJMF7wGg= 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:97323 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). 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. Any ideas? Any obvious place to check what memory is being used (ancient Solaris 2.7, GCC 3.1)? Tried on many different CVS versions, including the most current one. --Boris PS. Was about to contradict myself---the currently running copy is 179M and has no X frame, but I now recall creating an X frame yesterday, and then destroying it.