Subject: bug#31091: 25.2: Feature Request: auto exit upon memory exhaustion warning

From: Noam Postavsky <[email-masked]>
Date: Sun, 08 Apr 2018 11:27:38 -0400

Boruch Baum <[email-masked]> writes:

> in time, either because the user is attentive to the mode line or the

>> How do you detect that condition?
>
> Emacs already monitors the condition, and currently performs the following:
>
> 1] Adds a memory warning to the mode line;

I'm not sure what mode line warning you are talking about.  But, as
Andreas says, and can be shown by experimenting with 'ulimit', Emacs
measures usage of virtual memory.  Physical memory usage is subject the
allocation algorithms of the OS, and can't be reliably measured.

So I don't think this feature request can be satisfied.