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


Message #109 received at 26952 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: jwiegley <at> gmail.com, pot <at> gnu.org, npostavs <at> users.sourceforge.net,
 26952 <at> debbugs.gnu.org
Subject: Re: bug#26952: 25.1; loops eating all memory while yanking big
 rectangle
Date: Fri, 26 May 2017 09:25:32 +0300
> Cc: jwiegley <at> gmail.com, 26952 <at> debbugs.gnu.org, pot <at> gnu.org,
>  npostavs <at> users.sourceforge.net
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Thu, 25 May 2017 13:59:33 -0700
> 
> On 05/25/2017 12:34 PM, Eli Zaretskii wrote:
> > What I meant is to make hybrid_malloc the default on the same systems
> > where it is the default on master, in particular on GNU/Linux systems.
> > Not sure if this is helpful enough.
> 
> I'm afraid not. This is partly why I didn't want to backport the fix: I 
> don't know what needs to be backported, and figuring that out will be 
> nontrivial.

Noam, can you please check whether building the emacs-25 branch with
HYBRID_MALLOC defined fix the problem in this bug report?  If it does,
then I think we need to arrange for HYBRID_MALLOC to be defined on ELF
based systems where DOUG_LEA_MALLOC is not defined.  I think d6585a910
on master shows the change in configure.ac which did that.  Bug#22086
holds the relevant discussions.




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

Previous Next


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