GNU bug report logs - #26952
25.2; repeated buffer insertion (e.g. yank-rectangle) consumes excessive memory (4GB+ for 90MB of text)

Previous Next

Package: emacs;

Reported by: Francesco Potortì <pot <at> gnu.org>

Date: Tue, 16 May 2017 14:55:01 UTC

Severity: important

Merged with 27498, 31092, 38629

Found in versions 25.1, 25.2

Fixed in version 26.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Francesco Potortì <pot <at> gnu.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: John Wiegley <jwiegley <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>, Paul Eggert <eggert <at> cs.ucla.edu>, 26952 <at> debbugs.gnu.org
Subject: bug#26952: 25.1; loops eating all memory while yanking big rectangle
Date: Thu, 25 May 2017 19:29:55 +0200
>On Thu, May 25, 2017 at 12:48 PM, John Wiegley <jwiegley <at> gmail.com> wrote:
>> FWIW, I too have noticed Emacs 25.2 being quite unstable. For the longest
>> time, Emacs 24 would run for months without crashing even once. Now it crashes
>> pretty regularly 2-4 times a day. I wonder now if I'm hitting a memory ceiling
>> that is triggering the behavior we're describing...
>
>You're on macOS right? This bug and the proposed solution to be
>backported only affects GNU/Linux distributions with recent glibc,
>AFAIK.

I'm on Debian.  I'm curious to know what did I say to make you think I'm
on Mac :)

>Also, I don't think this bug would trigger crashes, just extreme
>system slowness due to swapping.

Well, it eats all my memory.  It is worse than a crash, the first time I
had problems managing to kill Emacs.




This bug report was last modified 5 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.