From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: master 5c532fe303: Recommend that the user turn off memory overcommit
Date: Fri, 08 Apr 2022 15:46:47 +0200 [thread overview]
Message-ID: <87ee27elh4.fsf@telefonica.net> (raw)
In-Reply-To: 874k33snvb.fsf@yahoo.com
Po Lu <luangruo@yahoo.com> writes:
> Ó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?
Because what is (supposedly) good for Emacs can be wrong for some other
application which is at least as important as Emacs for the user.
> 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.
Those are recommendations to be applied temporarily just when building
Emacs on certain specific (and possibly rare nowadays) scenarios.
next prev parent reply other threads:[~2022-04-08 13:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <164941780605.21656.13343783431945268284@vcs2.savannah.gnu.org>
[not found] ` <20220408113647.815ACC051D6@vcs2.savannah.gnu.org>
2022-04-08 12:58 ` master 5c532fe303: Recommend that the user turn off memory overcommit Stefan Monnier
2022-04-08 13:23 ` Óscar Fuentes
2022-04-08 13:31 ` Po Lu
2022-04-08 13:42 ` Brian Cully
2022-04-08 13:57 ` Po Lu
2022-04-08 15:03 ` Stefan Monnier
2022-04-08 19:59 ` Eli Zaretskii
2022-04-08 13:46 ` Óscar Fuentes [this message]
2022-04-09 0:23 ` Po Lu
2022-04-09 1:28 ` Óscar Fuentes
2022-04-08 19:17 ` Eli Zaretskii
2022-04-09 4:17 ` Richard Stallman
2022-04-09 5:51 ` Tim Cross
2022-04-09 8:42 ` Phil Sainty
2022-04-09 9:08 ` Po Lu
2022-04-09 10:08 ` Phil Sainty
2022-04-09 10:27 ` Achim Gratz
2022-04-09 9:56 ` Eli Zaretskii
2022-04-09 10:28 ` Phil Sainty
2022-04-09 10:41 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ee27elh4.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.