bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Philipp Stephani
Subject: bug#54698: non-recursive GC marking [PATCH]
Date: Tue, 5 Apr 2022 14:31:17 +0200

Am Di., 5. Apr. 2022 um 13:45 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
> > 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.





reply via email to

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