emacs-devel
[Top][All Lists]
Advanced

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

Re: master 5c532fe303: Recommend that the user turn off memory overcommi


From: Po Lu
Subject: Re: master 5c532fe303: Recommend that the user turn off memory overcommit
Date: Fri, 08 Apr 2022 21:31:20 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Óscar Fuentes <ofv@wanadoo.es> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> +@cindex memory trouble, GNU/Linux
>>> +  On GNU/Linux systems, the system does not normally report running
>>> +out of memory to Emacs, and can instead randomly kill processes when
>>> +they run out of memory.  We recommend that you turn this behavior off,
>>> +so that Emacs can respond correctly when it runs out of memory, by
>>> +becoming the super user, editing the file @code{/etc/sysctl.conf} to
>>> +contain the following lines, and then running the command @code{sysctl
>>> +-p}:
>>
>> FWIW, I think this is none of Emacs's business.
>
> +1
>
> Recommending to tweak kernel parameters is way over the top for dealing
> with system-wide conditions on a way that supposedly is "correct" for
> Emacs specifically.

Why? We recommend doing just that in many places when a kernel parameter
interferes with the normal behavior of Emacs, especially in
etc/PROBLEMS, with exec-shield and ASLR.


reply via email to

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