[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "memory full" during redisplay

From: Eli Zaretskii
Subject: Re: "memory full" during redisplay
Date: Wed, 10 Dec 2014 05:42:54 +0200

> Date: Tue, 09 Dec 2014 14:27:16 -0800
> From: Paul Eggert <address@hidden>
> On 12/09/2014 10:09 AM, Eli Zaretskii wrote:
> > However, signaling an error in the middle of redisplay is not a good
> > idea, because Emacs will immediately re-enter redisplay, again signal
> > an error, etc.
> Does the code call 'memory_full', or does it signal an error directly?  

The former.  The call to memory is in xmalloc and xrealloc, so it
cannot be avoided.

> If the former, memory_full should free enough spare memory so that the 
> redisplay should work and if that's not happening I'd be curious to know 
> why.

Because that memory reserve is not enough in the use cases I'm talking
about.  The code needs more than just that reserve.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]