From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 5c532fe303: Recommend that the user turn off memory overcommit Date: Fri, 08 Apr 2022 22:17:58 +0300 Message-ID: <83pmlr9yft.fsf@gnu.org> References: <164941780605.21656.13343783431945268284@vcs2.savannah.gnu.org> <20220408113647.815ACC051D6@vcs2.savannah.gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27603"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 08 21:18:35 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncu7v-00072k-IU for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Apr 2022 21:18:35 +0200 Original-Received: from localhost ([::1]:48866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncu7u-0004Nw-EQ for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Apr 2022 15:18:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncu78-0003hP-Vi for emacs-devel@gnu.org; Fri, 08 Apr 2022 15:17:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncu78-0001dY-9Q; Fri, 08 Apr 2022 15:17:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=t+nMXM7KKXUa7NZSmHGlBApSndo2zNVY3oQcdG75y3Q=; b=P/LbHzs9Deq6 Jw01Ky7BbPEGIrAmc8EasA2BrvoUxcUjQ8vpVFlxJf6GfhzG+9bnbNdJ/ETDOymvwry5KUFSjxETc gCbY15C048qs+mzSFab7ESDc86QP2rzX4ZdXkKAVp8Fq1EX5f0DwL4fdF7s1LXMybjADUGN9LjUfa zigQSfQam5VtZLk6gDZcUF1jbamRoxd2oVAZ9n+8JS0u/4xjcE6JQteuR4EFto4HGP0SIKbQSrHc4 47xtpySuQ88rHggEzZ3J+DuSLOOGuAxE0gH++LgjCvCA7CJHOeeuFcUu+weXFx9MWkRksOMbxOavz lUmCsWIfyKv5+mu1PcTjVg==; Original-Received: from [87.69.77.57] (port=1150 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncu77-0004X6-9c; Fri, 08 Apr 2022 15:17:46 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 08 Apr 2022 08:58:44 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287979 Archived-At: > From: Stefan Monnier > Cc: Po Lu > Date: Fri, 08 Apr 2022 08:58:44 -0400 > > > +@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. We describe in that node an Emacs feature that basically doesn't work on GNU systems. You are in effect saying that we don't care about that.