Subject: bug#54698: non-recursive GC marking [PATCH]

From: Philipp Stephani <[email-masked]>
Date: Tue, 5 Apr 2022 14:31:17 +0200

Am Di., 5. Apr. 2022 um 13:45 Uhr schrieb Eli Zaretskii <[email-masked]>:
> > In practice, though, malloc probably won't fail at all -- more likely the OS will keep handing out addresses from its 64-bit space and slowly swap itself to death. On Linux, the out-of-memory killer will murder some essential processes at some point.
>
> You mean, Emacs fails to know when it approaches the memory limit,
> and/or react reasonably when memory_full is called?  That'd be a bug,
> IMO.

I think this is just how modern OSes behave: they will happily hand
out arbitrary amounts of memory and then kill processes without
warning if they use too much memory. By design, there's nothing these
processes can do about that.