[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 5c532fe303: Recommend that the user turn off memory overcommi
From: |
Óscar Fuentes |
Subject: |
Re: master 5c532fe303: Recommend that the user turn off memory overcommit |
Date: |
Fri, 08 Apr 2022 15:23:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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.
Re: master 5c532fe303: Recommend that the user turn off memory overcommit, Eli Zaretskii, 2022/04/08
Re: master 5c532fe303: Recommend that the user turn off memory overcommit, Richard Stallman, 2022/04/09