From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: emacs user Newsgroups: gmane.emacs.bugs Subject: bug#10277: 24.0.91; memory leak when using vm Date: Tue, 13 Dec 2011 22:12:36 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1323807173 2152 80.91.229.12 (13 Dec 2011 20:12:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2011 20:12:53 +0000 (UTC) To: 10277@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 21:12:48 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RaYiV-000415-VK for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 21:12:48 +0100 Original-Received: from localhost ([::1]:32775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaYiU-0002ra-US for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 15:12:46 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaYiR-0002rK-Ui for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 15:12:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaYiQ-0001Rx-Mj for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 15:12:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaYiQ-0001Rt-7z for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 15:12:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RaYjh-0004WN-PZ for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 15:14:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: emacs user Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2011 20:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10277 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10277-submit@debbugs.gnu.org id=B10277.132380724017366 (code B ref 10277); Tue, 13 Dec 2011 20:14:01 +0000 Original-Received: (at 10277) by debbugs.gnu.org; 13 Dec 2011 20:14:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaYjf-0004W0-Qz for submit@debbugs.gnu.org; Tue, 13 Dec 2011 15:14:00 -0500 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaYjd-0004Vs-LO for 10277@debbugs.gnu.org; Tue, 13 Dec 2011 15:13:58 -0500 Original-Received: by faas1 with SMTP id s1so555267faa.3 for <10277@debbugs.gnu.org>; Tue, 13 Dec 2011 12:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jC45xqRDX77xD+BVlv3X8Nha4aa1QI75RnUTDO0JPn0=; b=QIoZSO0mag+IvuM3krqj2t6bTI30gRiNBgzzuEupZqpvn6rP4hhIDRH3pjibvNKH+t 6ARKo/s3ygifgXGbjv+I2nlkUp/PehbnihPRssSqGIiM5l2sS2e8XcZ3/1VUHTy7J41n Qln8BPh+UUKX1+EYNflQE1T9wZQBbK02mHNws= Original-Received: by 10.180.14.129 with SMTP id p1mr2795wic.8.1323807157146; Tue, 13 Dec 2011 12:12:37 -0800 (PST) Original-Received: by 10.216.170.138 with HTTP; Tue, 13 Dec 2011 12:12:36 -0800 (PST) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 13 Dec 2011 15:14:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54930 Archived-At: here is a new memory report, perhaps this helps? emacs size is about 300Mb at this point. Garbage collection stats: ((393819 . 210587) (67307 . 146) (71862 . 15273) 4244548 1877886 (713 . 725) (1033 . 796) (227352 . 74712)) =3D> 6301104+3369392 bytes in cons cells 3230736+7008 bytes in symbols 2874480+610920 bytes in markers 11408+11600 bytes in floats 57848+44576 bytes in intervals 7275264+2390784 bytes in string headers 4244548 bytes of string chars 4244548 bytes of vector slots Total bytes in lisp objects: 32307554 (live 25873274, dead 6434280) Buffer ralloc memory usage: 61 buffers 63670 bytes total (32924 in gaps) Size Gap Name 20348 2000 *w3m cache* 4962 1783 .emacs.d 2186 987 *srecode-map-tmp* 2186 1814 *code-converting-work* 567 1571 *Buffer Details* 191 2000 *scratch* 152 1876 *Marked Files* 125 1921 *Messages* 54 1987 *extract address components* 33 2008 *canonical address* 13 7 *Deletions* 13 2042 *Echo Area 0* 10 5818 *code-conversion-work* 0 2021 *Minibuf-1* 0 20 *vm-nonexistent-summary* 0 20 *Minibuf-0* 0 2051 *Echo Area 1* 0 20 *subst-char-in-string* 0 20 *vmpc-cleanup* 0 20 *w3m-work* 0 20 *w3m-work*<3> 0 20 *w3m-work*<5> 0 20 *w3m-work*<7> 0 20 *w3m-work*<9> 0 20 *w3m-work*<11> 0 20 *w3m-work*<13> 0 20 *w3m-work*<15> 0 2044 *split* 0 20 *w3m-work*<17> 0 20 *w3m-work*<19> 0 20 *w3m-work*<21> 0 20 *w3m-work*<23> 0 20 *w3m-work*<25> 0 20 *w3m-work*<27> 0 20 *w3m-work*<29> 0 20 *w3m-work*<31> 0 20 *w3m-work*<33> 0 20 *w3m-work*<35> 0 20 *w3m-work*<2> 0 20 *w3m-work*<6> 0 20 *w3m-work*<10> 0 20 *w3m-work*<14> 0 20 *w3m-work*<18> 0 20 *w3m-work*<22> 0 20 *w3m-work*<26> 0 20 *w3m-work*<30> 0 20 *w3m-work*<34> 0 20 *w3m-work*<37> 0 20 *w3m-work*<4> 0 20 *w3m-work*<12> 0 20 *w3m-work*<20> 0 20 *w3m-work*<28> 0 20 *w3m-work*<36> 0 20 *w3m-work*<39> 0 20 *w3m-work*<41> 0 20 *w3m-work*<43> 0 20 *w3m-work*<45> 0 20 *w3m-work*<47> 0 20 *w3m-work*<49> 0 20 *w3m-work*<51> 0 20 *w3m-work*<53> On Sun, Dec 11, 2011 at 11:17 PM, emacs user wrote: > In GNU Emacs 24.0.91.1 (x86_64-apple-darwin11.2.0, NS apple-appkit-1138.2= 3) > =A0of 2011-11-25 on MacBook-Air.local > Windowing system distributor `Apple', version 10.3.1138 > configured using `configure =A0'--with-ns'' > > when using vm, emacs grows in size every time I read my inbox, and > eventually crashes. =A0garbage-collect has no effect. =A0memory-usage.el > gives the output below, I would be grateful for any hints on how to > identify the problem... > > [at the time of this report, emacs grew to about 200mb (using activity > monitor on the mac). =A0it's initial size was about 30mb. ] > > \Garbage collection stats: > ((470940 . 228143) (128755 . 1) (348632 . 1073) 9089641 3274519 (123 . > 1083) (4119 . 14324) (691547 . 38503)) > > =A0=3D> =A0 =A0 7535040+3650288 bytes in cons cells > =A0 =A0 =A0 =A06180240+48 bytes in symbols > =A0 =A0 =A0 =A013945280+42920 bytes in markers > =A0 =A0 =A0 =A01968+17328 bytes in floats > =A0 =A0 =A0 =A0230664+802144 bytes in intervals > =A0 =A0 =A0 =A022129504+1232096 bytes in string headers > =A0 =A0 =A0 =A09089641 bytes of string chars > =A0 =A0 =A0 =A09089641 bytes of vector slots > > Total bytes in lisp objects: 68131680 (live 62386856, dead 5744824) > > Buffer ralloc memory usage: > 10 buffers > 10404 bytes total (9887 in gaps) > =A0 =A0 =A0Size =A0 =A0 =A0Gap =A0 =A0 Name > > =A0 =A0 =A0 568 =A0 =A0 =A01572 =A0 =A0*Buffer Details* > =A0 =A0 =A0 =A020 =A0 =A0 =A02045 =A0 =A0 *Echo Area 1* > =A0 =A0 =A0 =A017 =A0 =A0 =A03 =A0 =A0 =A0 =A0*Custom-Work* > =A0 =A0 =A0 =A0 5 =A0 =A0 =A02020 =A0 =A0 *code-conversion-work* > =A0 =A0 =A0 =A0 0 =A0 =A0 =A020 =A0 =A0 =A0*scratch* > =A0 =A0 =A0 =A0 0 =A0 =A0 =A02037 =A0 =A0 *Minibuf-1* > =A0 =A0 =A0 =A0 0 =A0 =A0 =A020 =A0 =A0 =A0 *vm-nonexistent-summary* > =A0 =A0 =A0 =A0 0 =A0 =A0 =A020 =A0 =A0 =A0 *Minibuf-0* > =A0 =A0 =A0 =A0 0 =A0 =A0 =A02037 =A0 =A0 *Echo Area 0* > =A0 =A0 =A0 =A0 0 =A0 =A0 =A020 =A0 =A0 =A0 *subst-char-in-string*