unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* "memory full" during redisplay
@ 2014-12-09 18:09 Eli Zaretskii
  2014-12-09 22:05 ` Stefan Monnier
  2014-12-09 22:27 ` Paul Eggert
  0 siblings, 2 replies; 6+ messages in thread
From: Eli Zaretskii @ 2014-12-09 18:09 UTC (permalink / raw)
  To: emacs-devel

While investigating bug #19322, I found out that memory-allocation
functions called in a few places during redisplay will signal a
memory-full error when there's not enough free memory to satisfy a
request.

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.  This causes Emacs to lock hard, and the only thing the
user can do is forcibly terminate the process.

So I think we should modify memory_full to handle this differently
during redisplay.  Do we already have some machinery for this, or do
we need to invent something new?



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-10 16:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 18:09 "memory full" during redisplay Eli Zaretskii
2014-12-09 22:05 ` Stefan Monnier
2014-12-09 22:27 ` Paul Eggert
2014-12-10  3:42   ` Eli Zaretskii
2014-12-10  6:47     ` Paul Eggert
2014-12-10 16:10       ` Eli Zaretskii

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).