From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#10277: 24.0.91; memory leak when using vm Date: Sat, 21 Sep 2019 01:19:33 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="205319"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 10277@debbugs.gnu.org To: emacs user Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 21 01:20:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBSCB-000rDT-LH for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Sep 2019 01:20:11 +0200 Original-Received: from localhost ([::1]:36210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBSC9-0001j0-PY for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 19:20:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38814) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBSC3-0001im-K7 for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 19:20:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iBSC2-0000g6-IP for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 19:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49947) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iBSC2-0000fd-F8 for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 19:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iBSC2-0003rF-7M for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 19:20:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2019 23:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10277 X-GNU-PR-Package: emacs Original-Received: via spool by 10277-submit@debbugs.gnu.org id=B10277.156902159214805 (code B ref 10277); Fri, 20 Sep 2019 23:20:02 +0000 Original-Received: (at 10277) by debbugs.gnu.org; 20 Sep 2019 23:19:52 +0000 Original-Received: from localhost ([127.0.0.1]:58768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBSBr-0003qi-Tn for submit@debbugs.gnu.org; Fri, 20 Sep 2019 19:19:52 -0400 Original-Received: from mail-pf1-f173.google.com ([209.85.210.173]:46026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBSBp-0003qR-Qp for 10277@debbugs.gnu.org; Fri, 20 Sep 2019 19:19:50 -0400 Original-Received: by mail-pf1-f173.google.com with SMTP id y72so5501142pfb.12 for <10277@debbugs.gnu.org>; Fri, 20 Sep 2019 16:19:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=prec2531kiLFVmFigqvARo8Mhv42oon9b2nxJQxnQ+4=; b=maHrnPkatatljrbkBpZarxItyY1y9KPR5iSAG24AO4Tcp1aynFIQsP/2kbLVp+FOm7 yoBq/4rzu+ZPofc7/yHkveWZO3FWd1o2e8RMqznJPcV+q8e/JUyRMcNHV0BsUjhAPSfs l5AeJgiFilswuFYbJjpoi0tT4DIHc2JoNNNyBR9r/5MGTiWb5Q2cPpNMWO78SzWXVEWq uCjJJ8njDXJYC/Q9UwvEkWGFoGq7ULXpPMhLBTZA/A94wc88YAhaZWY3GwKBIR8IujrW ScqWssmwmQQndFOcSZiLUcUN6sbh2079puVFcUGuRUKg+Gso2/4yQrQWBs2zKRZxPZ23 BR8w== X-Gm-Message-State: APjAAAWjvUSVyfT2AWk963tX7g9a17k8JEeL+Za/YsF4X5IeZsoMEaHM O4WQQjWtSKlaHgEJopvQZNMFIkw5p0bgUdiEVWQ= X-Google-Smtp-Source: APXvYqzymNRh1v0LcbxYvy49GY83gdkmiwFy7G3wvkBuVPLaIqyqpdIAU0K05UIJxAUD5/HHlgQE0zRp2w8g/bFXGm0= X-Received: by 2002:a63:720f:: with SMTP id n15mr10462968pgc.198.1569021584063; Fri, 20 Sep 2019 16:19:44 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:166818 Archived-At: emacs user writes: > In GNU Emacs 24.0.91.1 (x86_64-apple-darwin11.2.0, NS apple-appkit-1138.23) > of 2011-11-25 on MacBook-Air.local > Windowing system distributor `Apple', version 10.3.1138 > configured using `configure '--with-ns'' > > when using vm, emacs grows in size every time I read my inbox, and > eventually crashes. garbage-collect has no effect. memory-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). it's initial size was about 30mb. ] > > \Garbage collection stats: > ((470940 . 228143) (128755 . 1) (348632 . 1073) 9089641 3274519 (123 . > 1083) (4119 . 14324) (691547 . 38503)) > > => 7535040+3650288 bytes in cons cells > 6180240+48 bytes in symbols > 13945280+42920 bytes in markers > 1968+17328 bytes in floats > 230664+802144 bytes in intervals > 22129504+1232096 bytes in string headers > 9089641 bytes of string chars > 9089641 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) > Size Gap Name > > 568 1572 *Buffer Details* > 20 2045 *Echo Area 1* > 17 3 *Custom-Work* > 5 2020 *code-conversion-work* > 0 20 *scratch* > 0 2037 *Minibuf-1* > 0 20 *vm-nonexistent-summary* > 0 20 *Minibuf-0* > 0 2037 *Echo Area 0* > 0 20 *subst-char-in-string* This was reported 8 years ago, and many things have changed since then. Are you still seeing this on a modern version of Emacs? Best regards, Stefan Kangas