all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: luangruo@yahoo.com, emacs-devel@gnu.org
Subject: Re: master 5c532fe303: Recommend that the user turn off memory overcommit
Date: Sat, 09 Apr 2022 00:17:53 -0400	[thread overview]
Message-ID: <E1nd2Xp-0004yr-FK@fencepost.gnu.org> (raw)
In-Reply-To: <jwvy20f68co.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Fri, 08 Apr 2022 08:58:44 -0400)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > +@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.

The idea of "Emacs's business" is not a coherent concept
when we're thinking about what to say in the Emacs Manual.
The right question is, is this Emacs users' business?

The Emacs Manual is meant to tell Emacs users what they need to know,
and if this is something important for Emacs users to know about, that
is a fine place to tell them.

I don't have an opinion about what is best to do about this.  However,
if a problem means Emacs is likely crash, and we can't fix the problem
in Emacs itself, giving users advice in the manual is good to
consider.

I wonder if it is possible for Emacs to explicitly ask whether it is
getting close to overcommitting.  Even if that approach can't entirely
prevent the problem of surprise death, it might make that problem
happen much less frequently.


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





  parent reply	other threads:[~2022-04-09  4:17 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
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 [this message]
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=E1nd2Xp-0004yr-FK@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=monnier@iro.umontreal.ca \
    /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.