unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: npostavs@users.sourceforge.net
Cc: 27498@debbugs.gnu.org
Subject: bug#27498: 25.2; Memory leak in M-x shell
Date: Tue, 27 Jun 2017 07:17:59 +0200	[thread overview]
Message-ID: <87vanidn5k.fsf@elephly.net> (raw)
In-Reply-To: <87k23znek5.fsf@users.sourceforge.net>


npostavs@users.sourceforge.net writes:

> This is Bug#26952, it's due to using the custom "GNU version of malloc"
> without the "relocating allocater" (there were several bugs with the
> relocating allocater in 25.1).  To fix you can configure with
> REL_ALLOC=yes (this should be okay in 25.2), or use Emacs' master branch
> where the standard system allocater can be used once again.

I have tried this and while the memory consumption still grows as the
buffer fills up (which I suppose is expected), memory is released as
soon as the buffer is killed.

Thank you for the hint!

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net






  parent reply	other threads:[~2017-06-27  5:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-26 11:04 bug#27498: 25.2; Memory leak in M-x shell Ricardo Wurmus
2017-06-26 12:01 ` npostavs
2017-06-26 13:14   ` Ricardo Wurmus
2017-06-27  5:17   ` Ricardo Wurmus [this message]
2017-06-26 18:22 ` Francesco Potortì

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vanidn5k.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=27498@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).