From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#27498: 25.2; Memory leak in M-x shell Date: Mon, 26 Jun 2017 20:22:39 +0200 Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 Message-ID: References: <87lgofko1i.fsf@elephly.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: blaine.gmane.org 1498501462 26823 195.159.176.226 (26 Jun 2017 18:24:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Jun 2017 18:24:22 +0000 (UTC) Cc: 27498@debbugs.gnu.org To: Ricardo Wurmus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 26 20:24:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPYgF-0006Vy-Vp for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jun 2017 20:24:12 +0200 Original-Received: from localhost ([::1]:47978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPYgL-0006WN-BT for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jun 2017 14:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPYfD-0005wS-C2 for bug-gnu-emacs@gnu.org; Mon, 26 Jun 2017 14:23:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPYf8-0002R9-D2 for bug-gnu-emacs@gnu.org; Mon, 26 Jun 2017 14:23:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36718) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPYf8-0002Qi-9b for bug-gnu-emacs@gnu.org; Mon, 26 Jun 2017 14:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPYf8-0004x6-17 for bug-gnu-emacs@gnu.org; Mon, 26 Jun 2017 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Jun 2017 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27498 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27498-submit@debbugs.gnu.org id=B27498.149850136519006 (code B ref 27498); Mon, 26 Jun 2017 18:23:01 +0000 Original-Received: (at 27498) by debbugs.gnu.org; 26 Jun 2017 18:22:45 +0000 Original-Received: from localhost ([127.0.0.1]:39395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPYer-0004wU-8Z for submit@debbugs.gnu.org; Mon, 26 Jun 2017 14:22:45 -0400 Original-Received: from mx1.isti.cnr.it ([194.119.192.3]:47965 helo=blade3.isti.cnr.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPYeo-0004wK-VF for 27498@debbugs.gnu.org; Mon, 26 Jun 2017 14:22:43 -0400 Original-Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx-all.isti.cnr.it (PMDF V6.5-x6 #1609) with ESMTPSA id <01QG0GL2KNVQEJD17D@mx-all.isti.cnr.it> for 27498@debbugs.gnu.org; Mon, 26 Jun 2017 20:22:19 +0200 (MEST) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.89) (envelope-from ) id 1dPYel-0008A9-M8; Mon, 26 Jun 2017 20:22:39 +0200 In-reply-to: <87lgofko1i.fsf@elephly.net> X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 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: 208.118.235.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:133934 Archived-At: >Emacs leaks memory as lines are printed in a shell buffer. Here is a >recipe: > > emacs -Q > M-x shell > yes "This should not leak, but it does." > >Observe the memory usage grow in a tool like “top”. Once you decide >that Emacs has eaten enough memory, kill the shell buffer. Note that >memory is not released. This may be a duplicate of #26952