GNU bug report logs - #31091
25.2: Feature Request: auto exit upon memory exhaustion warning

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Boruch Baum <boruch_baum@HIDDEN>; dated Sun, 8 Apr 2018 07:23:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 21:58:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 17:58:43 2018
Received: from localhost ([127.0.0.1]:42909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5IKh-0004i4-4N
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 17:58:43 -0400
Received: from mail-oi0-f50.google.com ([209.85.218.50]:37538)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f5IKe-0004hr-UP
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 17:58:41 -0400
Received: by mail-oi0-f50.google.com with SMTP id f63-v6so5846863oic.4
 for <31091 <at> debbugs.gnu.org>; Sun, 08 Apr 2018 14:58:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
 bh=nM3bqJ+dA5EsB0CVxhW6wYKd32DbxlhW+dRewQ33wiY=;
 b=NvdvFTY4F/RYoDzatrWJZ8efCO7f4tA9xBnEYgcEp+0kOSH8BstuTdO65wmz3MHaD4
 kcf5yZHIQADaAI+hN9cyltuHW6vSGcblYOdMWGNxyjsNLUkUb3M8h67c9BJNSkXlVi4F
 3Fp75TwcgLHnBQIHZFjt7SS3GIoNamhtfhvRbvKhw0D/s9WK2Ko7CADnh11CXRmRk7zj
 4LM/g2Szf+I+Lt4gNXXiUpMNgjVtIXh1JPg1mee7erdgT0FTeBUmEt3uLRRhdqG7e2w+
 Gu3rm9SAD3khr6+0PgSIP+QGzW9aUEMsVZWUCU1q0Ub8f/IQK1DppVljEmoCDGILYrLq
 epkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to;
 bh=nM3bqJ+dA5EsB0CVxhW6wYKd32DbxlhW+dRewQ33wiY=;
 b=PMlCKxSidYx3lIri2M1quG8lY9BwhjI1WTEdoLb/oI8BIqMTU61/IpsdwahgcDua8t
 xiubicFddxgN8lU6bYviINN3aJHQSRbAGsNqQtD+IDvWoj6PXGor4jvmGTyTNSwkROLy
 69sxW+xdYRfu9ZX3gYx4r0ukqg8CRy1J50pFUVyDpQG2IkD8j9kczseJW5Ek9uBacqyf
 2KVLOZIX35mKX/HkqNl98o2ASNnw4EcF82C9o75gz+LB1rJGCsFbi6Y9nUEYHd96/zds
 pMXcgh8NfC8fqvLfUmNQ9SObkzRq8Y9V0471HpTEVVirTdNHN2L0PuMu5Heb+a5FeAcV
 FYfw==
X-Gm-Message-State: AElRT7GO0X05DroHLE+dydI4tmQOAQORRq/ZoDEjn04PJ3yTx8L1TjNi
 Un0IpXfoIVx6Infvcw7UZdKAIW0U9bSgNlL/zmg=
X-Google-Smtp-Source: AIpwx4+F1V4xG5VexTCwUZ+6QVLdVkXiHZdVZqA+SWmsHVJV2aM7Ua1Uau6togmmV5gs5u5ZSPOzl3750wmqBP4MN1c=
X-Received: by 2002:aca:5bd6:: with SMTP id
 p205-v6mr18894176oib.239.1523224715190; 
 Sun, 08 Apr 2018 14:58:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.139.213 with HTTP; Sun, 8 Apr 2018 14:58:34 -0700 (PDT)
In-Reply-To: <20180408181013.6hw7ec3fi2dvfeja@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87r2npn2fp.fsf@HIDDEN>
 <20180408155432.so73cpgt4kvjsggq@HIDDEN>
 <87lgdxmzj0.fsf@HIDDEN>
 <20180408165819.bsf534bjiwfsgmx4@HIDDEN>
 <87bmetmwy7.fsf@HIDDEN>
 <20180408181013.6hw7ec3fi2dvfeja@HIDDEN>
From: Noam Postavsky <npostavs@HIDDEN>
Date: Sun, 8 Apr 2018 17:58:34 -0400
Message-ID: <CAM-tV-9Pzq3fZ3zWuQt3Oi1rzRc1tuEyepwdO5Uj4+6FyernmQ@HIDDEN>
Subject: Re: [OFFLIST] Re: bug#31091: 25.2: Feature Request: auto exit upon
 memory exhaustion warning
To: Boruch Baum <boruch_baum@HIDDEN>, 31091 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 31091
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 8 April 2018 at 14:10, Boruch Baum <boruch_baum@HIDDEN> wrote:
> On 2018-04-08 13:26, Noam Postavsky wrote:
>> Hmm, I'm surprised you actually hit the warning.  Are you on a 32 bit
>> system with about 4GB RAM?  I guess you could hit the 75% warning at 3GB
>> allocation, and then start swapping soon after, if other processes are
>> using about 1GB RAM.
>
> 64-bit 4GB RAM

Huh. I have a similar machine, and I never saw the warning until I
started using ulimit. I can't understand how you hit it.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 17:28:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 13:28:26 2018
Received: from localhost ([127.0.0.1]:42799 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5E77-0004zZ-Oc
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 13:28:25 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:53389)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f5E75-0004zQ-RN
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 13:28:24 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 40K0lB6q8Nz1qvTf;
 Sun,  8 Apr 2018 19:28:22 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 40K0lB5pz7z1qqkJ;
 Sun,  8 Apr 2018 19:28:22 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id K6jXZb2Cz258; Sun,  8 Apr 2018 19:28:20 +0200 (CEST)
X-Auth-Info: dqQQbTvIlMExLNEEnecWzIOMpfrLsBkHLCVwY9ghnTut/MZysywXB5EQlwPO4L2+
Received: from localhost (ppp-188-174-148-14.dynamic.mnet-online.de
 [188.174.148.14])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun,  8 Apr 2018 19:28:20 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id 51B2B2C2DAD; Sun,  8 Apr 2018 19:28:20 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
 <20180408075921.2jatgor6uyulnnr7@HIDDEN>
 <87fu46f62c.fsf@HIDDEN>
 <20180408084601.r4mezduwuli7m6f5@HIDDEN>
 <878t9yeyay.fsf@HIDDEN>
 <20180408114937.3ryciqfbv2j5c2rv@HIDDEN>
 <874lklfzms.fsf@HIDDEN>
 <20180408161719.cflt3pa3x5b6tilu@HIDDEN>
X-Yow: Hmmm...  a PINHEAD, during an EARTHQUAKE,
 encounters an ALL-MIDGET FIDDLE ORCHESTRA...  ha..  ha..
Date: Sun, 08 Apr 2018 19:28:20 +0200
In-Reply-To: <20180408161719.cflt3pa3x5b6tilu@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 12:17:19 -0400")
Message-ID: <87o9itehfv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Apr 08 2018, Boruch Baum <boruch_baum@HIDDEN> wrote:

> It's relevant because its reality, and doing so might force you to
> confront a reality at odds with your statements.

It isn't.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 17:26:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 13:26:18 2018
Received: from localhost ([127.0.0.1]:42795 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5E54-0004wa-CM
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 13:26:18 -0400
Received: from mail-it0-f52.google.com ([209.85.214.52]:40312)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f5E53-0004wO-2E
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 13:26:17 -0400
Received: by mail-it0-f52.google.com with SMTP id u62-v6so7424889ita.5
 for <31091 <at> debbugs.gnu.org>; Sun, 08 Apr 2018 10:26:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=Uj/SAXtFGOV5mf/lAqz0HGpPy6CmvArD1F4Ct0Lct6g=;
 b=A6yN+soo6iJdVFLn0nk+hCEUcbQBkD02EhYy1tRCIFwjdin43kGLl9R53oQzTnDojA
 Ydnsfg0ntCWGzrIW5hVF0GfhTv284hOIG+kCANHFDNTdX3e8RSDYyBzUCSrrF4uAw8Nq
 HJRYWBWgsPwWc2bHh6oaopzMgmSb1eZqsEO7fBckBp+hRDAWInsBm/R/qt+yHVmWRHGk
 mc2LGOR8AB/Yj0Kvb6wc5asSUe6FeYyk7IXvDQPaHvCC0Pgv1BCZ4PIXgZCd8+Fi+/Aj
 OTasUeV2qkukPmWBjtEjYTGQoEsPUl5MdgRL0FE1JcxKiply8r4HipJ+BkNAEjiN3pNQ
 uAMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=Uj/SAXtFGOV5mf/lAqz0HGpPy6CmvArD1F4Ct0Lct6g=;
 b=X5ss+yTE0MLOUhOjXXssFIBVNmh5WN19IBUatsEm6qjJJ0VjEs1gsW6uEbMVVJ9UL2
 OUTx//RUTxgIIdvveKIktZA1Z11K10h1UhfHFkIG9KXcmzIk11QdJDFs/bIXemfaQpdr
 fSI1TCuljViUIWv70IbRkcA/SIz7m4rtYt3jMz/D+c++/2rnsAf4xWfqKDFxSe6mXXaU
 Slnj6aEFVwi/A7FRvqbS/VTlQCA4glFIJlqBQtp7xU9HfoYhJN9JHMnLcDMuetmZVvKE
 d4HcabmODlepd1ad4j803CTQkvNCCoow5A7tzVMB2+wagH82PIkJ81G0G7z3sWj2aZg+
 gjfg==
X-Gm-Message-State: ALQs6tBBfpBiYSIdagkGB1RfmG5WQyS7zQD9pbJMJwkK5ZXM/NeapS+V
 TViLo3sc46zZiLxLsIpkyVjSHA==
X-Google-Smtp-Source: AIpwx4+EAB0zPdW5Hz/JGdiASTOxInlr49aWDJH7i9j1AHx1c2WoPuGk742SzKqjAKU/V78WSvuscg==
X-Received: by 2002:a24:1bc4:: with SMTP id
 187-v6mr24992458its.4.1523208371422; 
 Sun, 08 Apr 2018 10:26:11 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 r66-v6sm410295itc.12.2018.04.08.10.26.09
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 08 Apr 2018 10:26:10 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87r2npn2fp.fsf@HIDDEN>
 <20180408155432.so73cpgt4kvjsggq@HIDDEN>
 <87lgdxmzj0.fsf@HIDDEN>
 <20180408165819.bsf534bjiwfsgmx4@HIDDEN>
Date: Sun, 08 Apr 2018 13:26:08 -0400
In-Reply-To: <20180408165819.bsf534bjiwfsgmx4@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 12:58:19 -0400")
Message-ID: <87bmetmwy7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> On 2018-04-08 12:30, Noam Postavsky wrote:
>> Hmm, I guess I'm not sure what advantage an abrubt shutdown has over a
>> warning.
>
> The most useful case would be of a user is running a time-consuming
> operation or an asynchronous operation, maybe a long repetitive macro,
> for which the current warning would be generated at near the beginning
> of the operation and system freeze would happen in mid-operation.

The final out-of-memory message comes via `signal', so any operation
would be interrupted.  Although the almost-out-of-memory warnings just
use display-warnings, so they don't interrupt anything.

>>  And as far as I understand, you never saw the warnings
>> messages,
>
> I did see the mini-buffer advice and warning, and ignored it, and I did
> see the mode line warning, and ignored it. Added to the long list of
> things I've done -- once.

Hmm, I'm surprised you actually hit the warning.  Are you on a 32 bit
system with about 4GB RAM?  I guess you could hit the 75% warning at 3GB
allocation, and then start swapping soon after, if other processes are
using about 1GB RAM.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:58:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:58:31 2018
Received: from localhost ([127.0.0.1]:42781 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5DeB-0002KW-Ll
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:58:31 -0400
Received: from mout.gmx.net ([212.227.15.19]:47543)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f5DeA-0002KK-6m
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:58:30 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id
 0LnfuZ-1eZCDI1G5n-00huSZ; Sun, 08 Apr 2018 18:58:23 +0200
Date: Sun, 8 Apr 2018 12:58:19 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408165819.bsf534bjiwfsgmx4@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87r2npn2fp.fsf@HIDDEN>
 <20180408155432.so73cpgt4kvjsggq@HIDDEN>
 <87lgdxmzj0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87lgdxmzj0.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:TYqy8ALQViMW0CkjmsZPEYNZRv3/JPaH87kwcikMtnppJIo7aDl
 Dbr7Mz8pLsYOBkdq30G6XgCXa+VjRZEzzP7zuYwC1N3XEHn9SRjNEp8nUvTx0qvFoqDneTt
 nUQqxF81nVAzSkOILtUlPsuA3QMB4Hge3E7/o6Ebqx4MKYHj+jviapmy0mbGYWX7hWwk7fD
 msTRdrlElNOmqJ5mrbVFA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:hF1Mxvt+Xw0=:hq0jFZZUvtQQOpYySm4HOQ
 plABfcS7v6iVl9NnyAbzjc0w9JVLyq0eApMpuMhrN6wTgm/6DFycyolvb1MwkGyk2lofYYBoV
 7/L0m+KX5lGFWi67uRCrF4wtbusjZH910tEVXGvRiQmUlrdW5N8wFjClkU7usJY6iErvuHz6d
 51c3Y2eb/DWk98IOCAVQzXnGk14GuoqX3BtQOeBRSFP5DhjeR3oeotUn/IVONeP/kSU+YaaO1
 JzVTFFu1EXXf5b3PIr0nbT17TUyoh23MDhO0N4APHE3lq4pNAUdyYoR5B1DHhKfWJiuZKgrNr
 Txwotla0z6+oQZw+wZcpkEkZR8l8v6BEj4ikNnxy61CIbfZ34GqH4qTCO0R3fqSCIASDgFobp
 Yjyvf5M06O2fRsfRou8sx9e80WMYyx1dl3ZWhzI7Ubo9GVxZq8wPLEQ2oLFa6JMgZ+pliB4UY
 4dWa3AtngO/rx+F4tt1HyNp7gXXGpj7LJ29rnXj51HpKkwS8TsCuNqoRjEOZ673pd2u4AcgEf
 Zqc/LNf5qKPGEkIykRJ8uKMeg/BnE0Jl/Ta+kFaKOssvYBzIUXow07s14O/FlDTO03yvIXNPn
 I0FncCgCKFuNZxVobDceiwE4EQA7PKissMXel4fyy5StrND3anhgP4A4pRrmAxHO98pCy/Lf7
 UtrjtLtmmzVuc64IvWv1GLuNxl37EUzqkoAHcrLOpYSatK7uZ51kMBHy8+IYC7QZ4BeWlq9Nr
 H6AuJyYS/MYSqOYg6uMgtlx+tGP8Liw9IRWwQykgZERAQ/cqpk0T+jTi5JWDcpo6t6gANLaGI
 vxsX3QOvwOq9/fx5sYtLHEfBta5MA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 12:30, Noam Postavsky wrote:
> Hmm, I guess I'm not sure what advantage an abrubt shutdown has over a
> warning.

The most useful case would be of a user is running a time-consuming
operation or an asynchronous operation, maybe a long repetitive macro,
for which the current warning would be generated at near the beginning
of the operation and system freeze would happen in mid-operation.

>  And as far as I understand, you never saw the warnings
> messages,

I did see the mini-buffer advice and warning, and ignored it, and I did
see the mode line warning, and ignored it. Added to the long list of
things I've done -- once.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:37:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:37:37 2018
Received: from localhost ([127.0.0.1]:42758 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5DJx-0001pv-6t
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:37:37 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51760)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f5DJw-0001pj-0Q
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:37:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f5DJn-0007bZ-CD
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:37:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36621)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f5DJn-0007bR-8Z; Sun, 08 Apr 2018 12:37:27 -0400
Received: from [176.228.60.248] (port=3692 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f5DJm-0006K9-Jw; Sun, 08 Apr 2018 12:37:27 -0400
Date: Sun, 08 Apr 2018 19:37:29 +0300
Message-Id: <83a7udzmba.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
In-reply-to: <87sh85ekj6.fsf@HIDDEN> (message from Andreas Schwab on
 Sun, 08 Apr 2018 18:21:33 +0200)
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <83po39zwgp.fsf@HIDDEN>
 <20180408132124.jusy2anuweqbepki@HIDDEN>
 <83efjpztph.fsf@HIDDEN> <87sh85ekj6.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31091
Cc: boruch_baum@HIDDEN, 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: Boruch Baum <boruch_baum@HIDDEN>,  31091 <at> debbugs.gnu.org
> Date: Sun, 08 Apr 2018 18:21:33 +0200
> 
> > You are experiencing a particular nasty bug.
> 
> The only bug is that apropos-value uses a sub-optimal implementation
> that produces a lot of data.

No, I meant memory-allocation trouble in Emacs 25.x on some versions
of GNU/Linux.

The same command doesn't get me anywhere near the memory-full
threshold in later versions of Emacs.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:31:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:31:50 2018
Received: from localhost ([127.0.0.1]:42747 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5DEL-0001hT-Ur
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:31:50 -0400
Received: from mail-it0-f50.google.com ([209.85.214.50]:33498)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f5DEK-0001hG-BS
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:31:48 -0400
Received: by mail-it0-f50.google.com with SMTP id x144-v6so9528100itc.0
 for <31091 <at> debbugs.gnu.org>; Sun, 08 Apr 2018 09:31:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=Rw5v3P9J9YxK7eDadzDzkRDhqfuiHIhRaVp8odYETKE=;
 b=iXNPuZoDD5/YNUNtvtKKpEz5o0mfqJGubP1PdC1MQ7rRPnhLCXKYJcYQeZSK3sUJF0
 tbZygGlYrZ9VwejqW/ij24yPEE3lHkuz3cdQmJNsqRr0NqtbfaS5ReOImhc6zKgqU/B7
 fhDJvupudJ/7nHvnH3nLWVGvWKU9uTdDa68416tOWXrx34mpIcqNNtZ9VCkzX1FEIFLW
 zqLBq9+ojpmv8cXaYpXS0h5nFRK2OhvRA+xNI/apwXoqTR1FSLyq+IauRpheH9AW+z4g
 pbNJNmFojIQBmedBBn2GO4zjyu+3t73lNMpfZllTYlhXhm4lUNQchVtr8Bppg4DldJtT
 XOyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=Rw5v3P9J9YxK7eDadzDzkRDhqfuiHIhRaVp8odYETKE=;
 b=MLji1o7lhFobTsATwytoK8Ie93LDlOsPgwCkibjaw7enJTq/5BWE/WjX1eu4MHVymX
 +4S4nQZnw+bC32Pq1d7HtNzPMLdtRFhJXV4hc0BOry1z3M9jQIp45qTS0M7ajMR3+19w
 aoLLWc8mxkAvHtieaMY96auS3TAzSrk7OX0N/y9JV27mSOA9ERbcCicjjMlDIQUAUI3V
 SJeW+iOGBIrNZvkCMjm4Knp3KwVz2ia/4vZCfCYEaAmXTjJwMr0FM5Tlj0DbBcb35Bje
 lowbc3BuGP8kPyZBPWyyBol+vdw5ZvCdYO9eRefcp1WTuCZoxGV3ZxXUqXD9rdTkPhAo
 vWCQ==
X-Gm-Message-State: ALQs6tCpZpoXR1X28ACvtVT+7rbR3r2wRyrH5MMMyiluNMlPym0xIgFX
 oTgQbob+6DMp5086s4G47Ct7dA==
X-Google-Smtp-Source: AIpwx48dh3tVFrJXXUwMs5xWcmUx2XRyl1cSLflBZYh8zmXbqX82qurwOYlnNYG4/MLAtwmoNCqlOQ==
X-Received: by 2002:a24:5c02:: with SMTP id
 q2-v6mr9034391itb.103.1523205102795; 
 Sun, 08 Apr 2018 09:31:42 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 j28sm8853925iod.84.2018.04.08.09.31.42
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 08 Apr 2018 09:31:42 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <83po39zwgp.fsf@HIDDEN>
 <20180408132124.jusy2anuweqbepki@HIDDEN>
 <83efjpztph.fsf@HIDDEN> <87sh85ekj6.fsf@HIDDEN>
Date: Sun, 08 Apr 2018 12:31:41 -0400
In-Reply-To: <87sh85ekj6.fsf@HIDDEN> (Andreas Schwab's message of
 "Sun, 08 Apr 2018 18:21:33 +0200")
Message-ID: <87in91mzgy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: Eli Zaretskii <eliz@HIDDEN>, Boruch Baum <boruch_baum@HIDDEN>,
 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Andreas Schwab <schwab@HIDDEN> writes:

> On Apr 08 2018, Eli Zaretskii <eliz@HIDDEN> wrote:
>
>>> Not my experience today / last night.
>>
>> You are experiencing a particular nasty bug.
>
> The only bug is that apropos-value uses a sub-optimal implementation
> that produces a lot of data.

No, it's probably Bug#26952, as I mentioned earlier.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:30:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:30:36 2018
Received: from localhost ([127.0.0.1]:42743 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5DDA-0001fc-JZ
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:30:36 -0400
Received: from mail-io0-f178.google.com ([209.85.223.178]:36152)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f5DD9-0001fP-Ei
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:30:35 -0400
Received: by mail-io0-f178.google.com with SMTP id o4so6911567iod.3
 for <31091 <at> debbugs.gnu.org>; Sun, 08 Apr 2018 09:30:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=zn2zVO+HJiksmzGpOGq+imylQVO6JUwEpeYSdGixGKs=;
 b=FU2J2JlXUleSiB5kjrDCHZeKE2W/Q6ipeg1FMsOMfXk9424vNk3bFlof6Xi0SdlnKv
 k+lmgOIiE7kgOLmzLBClC+oadc1euwWNvOzYRN5AWrine2yUBCzTlpnmJmETMhlLqGUF
 N+Jof2KNLv+USyMha+Q70wv8Jxqlj6o+d6lUVDSOCXj9ro/NgYATC5GI69MiQqMSWK39
 yIEAEg7TR7Gsoa1reQ+JnyDyp+uOeSSnAhai2/N4Ng72Dzep7XWedVNT76tdmqZvbt7H
 Vo+awq+73H3kztQ8f6ys3lLfyAlTYA9oadEk9peH5v3l7GTW/uBBvAKZYgmm8nMlwC8i
 OeHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=zn2zVO+HJiksmzGpOGq+imylQVO6JUwEpeYSdGixGKs=;
 b=UtZuuRljfmHVoF280fi3uwntzc9M5kjnCBwEu+xQbJlrttadrITGjHFniUrlFl4Env
 WZaEjfoMU1kwYRj4Tp1oRwu06RTAmklYT0qe4+k087jrU2jrSBzbTzm5kCWZMFJnd2Uf
 Oz29fm5gGkm/fHJDeVKUlI7iXqoJuugcCxZvBuB2Rc5bP74iAuEG1eziJW1Kw1gTViTp
 LcXRY9e6TQL+dFmNwH976lHw+j/YUwgmt5mBXtMXIHQ5WPkxekbAXkKxkqD6vrgaReSk
 kKRqbzo+BWGmQPnwn5qDf5+ZpthVP0iJ5cz96Zve8u6RSvpg+flUzchqyujWfPGcfBBU
 wcMg==
X-Gm-Message-State: ALQs6tD96yGrQiM3qNxixUvTewqgBELdq59vK1LRV1MuSKffRfCpV+vZ
 8DwOh2CADnMcSSA54PSrgPZk7Q==
X-Google-Smtp-Source: AIpwx49gyG1u3Sn9dkPDiSmrI/LXp2bwNlADBloL0wzVXpuTuabj3lD6ugesgLCYxtC5W/3f+ZOa3Q==
X-Received: by 10.107.146.136 with SMTP id u130mr29612182iod.96.1523205029678; 
 Sun, 08 Apr 2018 09:30:29 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 m20sm10289504ioo.66.2018.04.08.09.30.28
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 08 Apr 2018 09:30:28 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87r2npn2fp.fsf@HIDDEN>
 <20180408155432.so73cpgt4kvjsggq@HIDDEN>
Date: Sun, 08 Apr 2018 12:30:27 -0400
In-Reply-To: <20180408155432.so73cpgt4kvjsggq@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 11:54:32 -0400")
Message-ID: <87lgdxmzj0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> On 2018-04-08 11:27, Noam Postavsky wrote:
>> Boruch Baum <boruch_baum@HIDDEN> writes:
>> > Emacs already monitors the condition, and currently performs the following:
>> >
>> > 1] Adds a memory warning to the mode line;
>>
>> I'm not sure what mode line warning you are talking about.
>

>     By default, this construct is displayed right at the beginning of
>     the mode line, except that if there is a memory-full message, it
>     is displayed first.

Ah, looks like that warning is non-operational in most configurations though:

    static const char *
    decode_mode_spec (struct window *w, register int c, int field_width,
              Lisp_Object *string)
    {
      [...]
        case 'e':
    #if !defined SYSTEM_MALLOC && !defined HYBRID_MALLOC
          {
        if (NILP (Vmemory_full))
          return "";
        else
          return "!MEM FULL! ";
          }
    #else
          return "";
    #endif


>> So I don't think this feature request can be satisfied.
>
> The same logic that currently issues the warning messages would perform
> the shutdown if a variable were set.

Hmm, I guess I'm not sure what advantage an abrubt shutdown has over a
warning.  And as far as I understand, you never saw the warnings
messages, so it wouldn't have helped in your case anyway, since you
didn't hit the virtual memory limit.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:21:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:21:35 2018
Received: from localhost ([127.0.0.1]:42735 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5D4R-0001Rt-MZ
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:21:35 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:49678)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f5D4Q-0001Rl-Qm
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:21:35 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 40JzG61v2Rz1qvBw;
 Sun,  8 Apr 2018 18:21:34 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 40JzG61ZYDz1qqkK;
 Sun,  8 Apr 2018 18:21:34 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id ivxDvDqS3IHF; Sun,  8 Apr 2018 18:21:33 +0200 (CEST)
X-Auth-Info: KBFwjRWoeN10B+wiOFkM4S0tRJVQ7qOuUfuItrtLR9gnIqySlUTQUOkAHQcQ+Nam
Received: from localhost (ppp-188-174-148-14.dynamic.mnet-online.de
 [188.174.148.14])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun,  8 Apr 2018 18:21:33 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id 1FC762C2D9D; Sun,  8 Apr 2018 18:21:33 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <83po39zwgp.fsf@HIDDEN>
 <20180408132124.jusy2anuweqbepki@HIDDEN>
 <83efjpztph.fsf@HIDDEN>
X-Yow: Clear the laundromat!! This whirl-o-matic just had a nuclear meltdown!!
Date: Sun, 08 Apr 2018 18:21:33 +0200
In-Reply-To: <83efjpztph.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 08 Apr
 2018 16:57:46 +0300")
Message-ID: <87sh85ekj6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 31091
Cc: Boruch Baum <boruch_baum@HIDDEN>, 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Apr 08 2018, Eli Zaretskii <eliz@HIDDEN> wrote:

>> Not my experience today / last night.
>
> You are experiencing a particular nasty bug.

The only bug is that apropos-value uses a sub-optimal implementation
that produces a lot of data.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:17:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:17:31 2018
Received: from localhost ([127.0.0.1]:42724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5D0V-0001LU-MD
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:17:31 -0400
Received: from mout.gmx.net ([212.227.15.18]:59379)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f5D0T-0001LH-Qy
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:17:30 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id
 0MCLx3-1fEJpD1wcD-0095jD; Sun, 08 Apr 2018 18:17:22 +0200
Date: Sun, 8 Apr 2018 12:17:19 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408161719.cflt3pa3x5b6tilu@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
 <20180408075921.2jatgor6uyulnnr7@HIDDEN>
 <87fu46f62c.fsf@HIDDEN>
 <20180408084601.r4mezduwuli7m6f5@HIDDEN>
 <878t9yeyay.fsf@HIDDEN>
 <20180408114937.3ryciqfbv2j5c2rv@HIDDEN>
 <874lklfzms.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <874lklfzms.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:1J8tuVI3j2D14kzXq8X3rX+w0FRnPzrlBYAyICYrV2TAtVjW1PP
 1t78r9jPb2oY9EA+y0wRFJM55vTImJyvl3vZg+di4qEotdCi9vnUBcnh7Jv7stAjQQsImZs
 iLUkt4BtXGbVSS4P9KajLJGPwoG436KUReqDRp3sA/wLxGY9nUmDSwIKlF/N996eE2IOzpd
 BvXLuDaAbwlkWmW9C+0Bw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:g6Ma3T3OC58=:XR7RwBAmBQn/taxSSVHoQQ
 gWwHwYsnJIBvc07zTA4HKF4H1DDp0ZgiEYQ7mtGpRMyGHWXxBbZp+Ng0tbvtAsmpZ5daCahHn
 laNqP6jLzRNmwNBkgCMwK+hucLnAshAsRJCfIJdiDiN6su6WAEN2ssRZgby6pfsnF+jFY4trC
 j5jnHK5RtZQmGbgScWWYJgDtw98U756SK3TmJCV37HUvWP9ey75SiX4eOgzmVjc/qZD0qq+oH
 fzID6r42Szkl0zTg0P/qjZwL6QAN7yUDBjQ9LxCyR0Wn9dKChStSOeoMzIx8SwjCn/q9yI4DI
 BdWdaD1UoXi2tc1lKgCWi1n1IIrV46U9FgTQQ7ETgdpqsyLZ9ahZ38UuSiZ2Yse3Dgx04V0Zr
 y7IPDwKC7+9LzuYMRiugE5yPmXH2jpjxGln9fwayQnFg88t7T81LwfgZ8OoF3raeWJ6CWT4lu
 uY4vEmJD3KKWIh+9xzpfwkN79WdYFmjrrDE7s5dd63F5Ugy1Kw9wxnvNHJGgx2dhQugPEfnSL
 vKutmi/b9BncIzB/FPOFD/a5pNJqjlqU3EkJy2sdvCpgllkx3AY4AnPl9dwQfZn8E3GXo11gl
 IQPpt44rRxiO95g4sk675iBLyGKagdteFJiondnmXU7Ph+r5D4qPbex5muscHpYqhRFOu/bS5
 xJrLR+SMrRb4jzBu+I2rjoShKGQXXVSaYREYuUcSB33BY/wZQCPPiYnZuAtg6Lsu4J3SsNOv2
 NRWE/Zs46cOslYDqIkAmJ1w/beEUy/gSN1fgRxwUGvdPgjmu/YEjQQNGn0TAmbd55z9xFybas
 BnyVi/OlSJx+3YmHJ7zYRkzolTsoA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 18:10, Andreas Schwab wrote:
> On Apr 08 2018, Boruch Baum <boruch_baum@HIDDEN> wrote:
>
> > On 2018-04-08 13:24, Andreas Schwab wrote:
> >> But physical memory will be exhausted long before virtual memory is.
> >> And it may not even be Emacs which exhausted it.
> >
> > Before you commit to what you wrote, why not try it yourself first;
>
> How is that relevant?  That statement is true for every process.

It's relevant because its reality, and doing so might force you to
confront a reality at odds with your statements.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:14:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:14:00 2018
Received: from localhost ([127.0.0.1]:42715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5Cx5-0001FX-UP
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:14:00 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:56717)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f5Cx4-0001FP-1K
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:13:58 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 40Jz5K3P55z1qvTd;
 Sun,  8 Apr 2018 18:13:57 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 40Jz5K1kxNz1qqkJ;
 Sun,  8 Apr 2018 18:13:57 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id y7ypksnnATBu; Sun,  8 Apr 2018 18:13:56 +0200 (CEST)
X-Auth-Info: XXDA5FXri1tCnkNli7kFYnKJQ+kzfqW6nwV7PZhO9dBA39U/OYWoZZEtRReZIMQ+
Received: from localhost (ppp-188-174-148-14.dynamic.mnet-online.de
 [188.174.148.14])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun,  8 Apr 2018 18:13:56 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id 2F9C62C2D9D; Sun,  8 Apr 2018 18:13:56 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87r2npn2fp.fsf@HIDDEN>
 <20180408155432.so73cpgt4kvjsggq@HIDDEN>
X-Yow: ..  I want to perform cranial activities with Tuesday Weld!!
Date: Sun, 08 Apr 2018 18:13:56 +0200
In-Reply-To: <20180408155432.so73cpgt4kvjsggq@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 11:54:32 -0400")
Message-ID: <87zi2dekvv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 31091
Cc: Noam Postavsky <npostavs@HIDDEN>, 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Apr 08 2018, Boruch Baum <boruch_baum@HIDDEN> wrote:

> The same logic that currently issues the warning messages would perform
> the shutdown if a variable were set.

That logic cannot predict the shortage of a systemwide shared resource.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 16:10:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 12:10:08 2018
Received: from localhost ([127.0.0.1]:42711 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5CtM-0001Ab-DW
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:10:08 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:58531)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f5CtK-0001AT-9A
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 12:10:06 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 40Jz0s1Twnz1qtNv;
 Sun,  8 Apr 2018 18:10:05 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 40Jz0s0JQ3z1qqkJ;
 Sun,  8 Apr 2018 18:10:05 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id qAU5nrFfGBph; Sun,  8 Apr 2018 18:10:04 +0200 (CEST)
X-Auth-Info: tteKcPFB8SQWJKz+ow2i6khu6oWqvWb6xg6HedbI7OS1vFMxSCMxnK/iZPCvMN4S
Received: from localhost (ppp-188-174-148-14.dynamic.mnet-online.de
 [188.174.148.14])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun,  8 Apr 2018 18:10:04 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id DF46C2C2D9D; Sun,  8 Apr 2018 18:10:03 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
 <20180408075921.2jatgor6uyulnnr7@HIDDEN>
 <87fu46f62c.fsf@HIDDEN>
 <20180408084601.r4mezduwuli7m6f5@HIDDEN>
 <878t9yeyay.fsf@HIDDEN>
 <20180408114937.3ryciqfbv2j5c2rv@HIDDEN>
X-Yow: I appoint you ambassador to Fantasy Island!!!
Date: Sun, 08 Apr 2018 18:10:03 +0200
In-Reply-To: <20180408114937.3ryciqfbv2j5c2rv@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 07:49:37 -0400")
Message-ID: <874lklfzms.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Apr 08 2018, Boruch Baum <boruch_baum@HIDDEN> wrote:

> On 2018-04-08 13:24, Andreas Schwab wrote:
>> But physical memory will be exhausted long before virtual memory is.
>> And it may not even be Emacs which exhausted it.
>
> Before you commit to what you wrote, why not try it yourself first;

How is that relevant?  That statement is true for every process.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 15:54:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 11:54:45 2018
Received: from localhost ([127.0.0.1]:42699 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5CeT-0000nO-Jw
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 11:54:45 -0400
Received: from mout.gmx.net ([212.227.15.15]:48113)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f5CeR-0000nB-MA
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 11:54:44 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx001 [212.227.17.184]) with ESMTPSA (Nemesis) id
 0MIuzJ-1f3Ghp2n1N-002YtA; Sun, 08 Apr 2018 17:54:37 +0200
Date: Sun, 8 Apr 2018 11:54:32 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408155432.so73cpgt4kvjsggq@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87r2npn2fp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87r2npn2fp.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:MIm5hivqHk0ffOxE0BKu03uAtlwU977cYtoaTImeIKr2HLPrz7K
 E1xHP5euE6qIrQtBJXMXrjtmqBInXMDL25UOuGB0oYK2N/Gg2U7B7he3TyGefWDStlZ4Cjs
 IPLAVXTRqAno5mClklaVCWURw4ckYUlY+CeFSDksXHg+E51B+MNLmDXYjXD/SYZuEYjGb7e
 LzYLgYPMopZdVDBL+9tWw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:DEGspDpJhg4=:ha1VrqYmv0Xh4SMweQ6rRk
 9/ySOs/XWU+sCG7C7ufq+4x5MkTTlD/n/zUmrc9hdYhYl+kn+gjJ2+1UHByejHulCVxdCqnpn
 8grjqKbU6IcFWRzPV/rqnEvNuUDPOE4XzrxvG8yEzi6q+gW4Jmf/ww937K1sFGKdF7e2OxZp6
 oAnm9vAsr/momT6TuaCGbc4rQRCw9HbSgihRZoj0alO+MDG5GcGKKB4BkMvoJoan1wyApBBYe
 OJ0RaQ5hyWSxaIP3fZxrVhd+7sJ2yAu+H4GiWxps4TIErA9VrEzOL0LXz+j9zhA1PGnphv1Pa
 FubgZuwRqgMn2NzFCWPmAlg9a1LEnPY30L0cMzAZTlFRRSsX/qGmZEZVhz0pUaCAx1kWSc7wC
 gsOHv6U9RM1Zedh49VlUoBeQ9dmOIpThhQB3+EalXSpWF8lL45EkjoS4UlnpccH36PQ9PqnI/
 qJL1r59hQNE1pkf5f+I6AIarlnnxeS9jjatu68sujgxlbttcOJMpB91QG4UBTWNp6VDevOEbd
 mmt+GjIaOzRszwn5Pdc+79e4ujPuoO/a6xeEyxCfvsPKc4hhgZRhPCVLgFgt0sMl8tQ7D5Ggr
 hl1zZU06ebwK2jwRC7zVyHdBT9/Nmi7ZhtxAFwHxZVphsrxxh296gUHpibzZNCCkDyPHPAOJM
 JSOIca21Rqoj9zGiZe64I5BM4cfdDkXU9IWX2Wllj/FL2XWUVgaXeFJJOYNAqldf7dXKbqN0W
 C1FmIRvA2aBXUBTT5jsuW8cjdO+itq+EPnFJqrtvNvHDdfuL8ihKBPX4ZEUXUAx2bHiFp01GM
 DeMcFvj7BbyQsE647lrj+QQSqYBZA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 11:27, Noam Postavsky wrote:
> Boruch Baum <boruch_baum@HIDDEN> writes:
> > Emacs already monitors the condition, and currently performs the following:
> >
> > 1] Adds a memory warning to the mode line;
>
> I'm not sure what mode line warning you are talking about.

    mode-line-front-space is a variable defined in ‘bindings.el’.
    Its value is (:eval (if (display-graphic-p) " " "-"))

      This variable may be risky if used as a file-local variable.

    Documentation:
    Mode line construct to put at the front of the mode line.
    By default, this construct is displayed right at the beginning of
    the mode line, except that if there is a memory-full message, it
    is displayed first.

> So I don't think this feature request can be satisfied.

The same logic that currently issues the warning messages would perform
the shutdown if a variable were set.


-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 15:27:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 11:27:48 2018
Received: from localhost ([127.0.0.1]:42661 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5CEN-0004gs-Uh
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 11:27:48 -0400
Received: from mail-it0-f42.google.com ([209.85.214.42]:40281)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f5CEL-0004gf-GI
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 11:27:45 -0400
Received: by mail-it0-f42.google.com with SMTP id u62-v6so7226430ita.5
 for <31091 <at> debbugs.gnu.org>; Sun, 08 Apr 2018 08:27:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=/AnYF7R1yW6ZPWEAWDyYeSIWtnM4DSmrK39fjEGc1KQ=;
 b=NSmpNZi627s36pGVMX6/VOSnAM6ZxziP75Ds6KZyt+NEWR//tWi8VLqT76f8D/cupM
 OBn8jCBjqL6iDWhlT3POpsbzanhYNoiHuYiXHXZZu0sxxIK/Lo1vL6GjvsUbu8A91Dne
 0PWE+616lBVDsosm/THBf/Pto5rXzto3H9s+C1g9yIab1rTtjb0/doaq86kOpTstdxmZ
 qy9rBO46AdzKvcSFf1+o9yglScq83MzBhV/AZC9NhOT7+VL6tYxlJVzR+EE7rUirILdc
 LEi5ga5O7MVr0Yaq8FGBIMbcz9Um0u4tRbvo3nGe45dMKXFMvy+ST4XF2jTPD9JLaG8Q
 pONA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=/AnYF7R1yW6ZPWEAWDyYeSIWtnM4DSmrK39fjEGc1KQ=;
 b=UK8n0QlNQ6JuddcvdNhGTTkZk2ASwWlzb/pUB1Wps8QYOER2bRxIizZRBlJyuc8/kt
 jL6CazzOIjn4KCL0gGlhDqZHRUGrKyvXm6WAvMRfh6gBbj2TALUz2MuU/v9uQfsZcpZG
 sWBn5QkYgsPggOMkjbudm7S5o5oED+eH6zEa6RDRZBF83N6Rq1s9zkLX5kO5yJ6X0FKx
 SzuV9ur9gR/2S9uFSNICvDYSJ62J1cL5oaNgBXPB9nPM4aYPqexwMvRAQe5BPj39eRYq
 zX72S5pV1cF7EqrU8cv24Ex3HIoy+LmWAvWcLMIiVhepUkXRYyFnwa6/O9nfFEvUUkW0
 z+BA==
X-Gm-Message-State: ALQs6tCN8oxXzCBKW9zTAUGfiAf2xBSJm3oQf1feJZ22nP2Jfmfuz5tP
 AgjcAGx8BcoYK7IFAY3m5+JsCg==
X-Google-Smtp-Source: AIpwx49EeAsxo/an9CGstW+pIg5UhrWL/qsDyM1s8cH8Q3q/9sRmVY2zGiJ57LrGXIRP6vhfiidygQ==
X-Received: by 2002:a24:b649:: with SMTP id
 d9-v6mr26285335itj.51.1523201259863; 
 Sun, 08 Apr 2018 08:27:39 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 m142-v6sm6018810itg.2.2018.04.08.08.27.39
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 08 Apr 2018 08:27:39 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
Date: Sun, 08 Apr 2018 11:27:38 -0400
In-Reply-To: <20180408072223.5mwxvwl54v4nocr3@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 03:22:23 -0400")
Message-ID: <87r2npn2fp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> in time, either because the user is attentive to the mode line or the

>> How do you detect that condition?
>
> Emacs already monitors the condition, and currently performs the following:
>
> 1] Adds a memory warning to the mode line;

I'm not sure what mode line warning you are talking about.  But, as
Andreas says, and can be shown by experimenting with 'ulimit', Emacs
measures usage of virtual memory.  Physical memory usage is subject the
allocation algorithms of the OS, and can't be reliably measured.

So I don't think this feature request can be satisfied.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 13:57:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 09:57:54 2018
Received: from localhost ([127.0.0.1]:42599 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5ApO-0002Zv-Bj
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:57:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43267)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f5ApN-0002Zi-Cu
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:57:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f5ApE-00029w-CU
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:57:48 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34482)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f5ApE-00029o-9T; Sun, 08 Apr 2018 09:57:44 -0400
Received: from [176.228.60.248] (port=3228 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f5ApD-0007IZ-A2; Sun, 08 Apr 2018 09:57:43 -0400
Date: Sun, 08 Apr 2018 16:57:46 +0300
Message-Id: <83efjpztph.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
In-reply-to: <20180408132124.jusy2anuweqbepki@HIDDEN> (message
 from Boruch Baum on Sun, 8 Apr 2018 09:21:24 -0400)
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <83po39zwgp.fsf@HIDDEN>
 <20180408132124.jusy2anuweqbepki@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Sun, 8 Apr 2018 09:21:24 -0400
> From: Boruch Baum <boruch_baum@HIDDEN>
> Cc: 31091 <at> debbugs.gnu.org
> 
> On 2018-04-08 15:58, Eli Zaretskii wrote:
> > FWIW, I consider automatic shutdown in this case a misfeature, because
> > this is likely to shut down a session due to some memory-related bugs
> > more than anything else.
> 
> You would want an emacs bug to bring down your entire system to just
> short of a complete freeze (my experience of today / last night)?

You would want to introduce a new non-trivial feature based on a
single data point, which is a bug that most probably was solved many
moons ago.

> > I do agree with Andreas that normally a system will start paging long
> > before the virtual memory threshold for that warning is exceeded.
> 
> Not my experience today / last night.

You are experiencing a particular nasty bug.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 13:54:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 09:54:03 2018
Received: from localhost ([127.0.0.1]:42053 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5Alf-0002Mj-Il
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:54:03 -0400
Received: from mout.gmx.net ([212.227.17.22]:46695)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f5Ald-0002MG-QS
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:54:02 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id
 0MZfZi-1elyer0aFS-00LW9d; Sun, 08 Apr 2018 15:53:55 +0200
Date: Sun, 8 Apr 2018 09:53:52 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408135352.pu4afwtboy2zaywv@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87tvsln83x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87tvsln83x.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:KnFft6OLleXfp9S4lidoTXHgETxyHFXXgmbwhzGsvR8y/wUJji5
 yQ+cxO+12LeEG9ryO7r4kc2FHBIZRIE8laY0XZCVkfA47Kn5kyo1Iy/3YnuMDbqZHdIkVuU
 ZrtNqtJbCoimnOI/Nbi1QfGci03mTomsxh7Qj50UadVn3SbLggklg/JfbBSEOf52Cy9nz3w
 5FALOGk8z5uKq49rPm+QA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:RILcXnZg/lc=:FbZo71KtxKZ6AqAmuDrGAX
 3wh6P+Rk12impyUtB+F9Zfx9elzevd0cnJ9iTMwgb9S6cU8xNSFbuzZPa0bnTzlDog4p3NBYi
 q3SdoJM2KWM8b1Z8jc4spRy2PsWEBAyR6GoRVUa3WTbpGD2SVCgCzcz6KgOAAoluSWa1nU0nh
 rGo5Duz6rjzc/4zGdrE5sDlYFBgDwhULyhNjvTatQdTXhjQqSBKrf0c12WtDSoabjXePGtk4V
 i8Pq6ioJ3DpPI76pKMBk8Jn1FCG6G4eqGQnRD20GEZyvtkQwctE7zDunJCu2TNzxxYmS7yseb
 jxh4LAxfJ4gp8Bzr8ibWAIJPXHFEaAyi7up9/5hpvUbQU6fSsJ3nJ3LAwkhNAVa9OTeKK9v3c
 TEbo+CRfyTCN8hNLAOeup5gwa5bzh6hGoh4Ra03Or6iKEDlrU47/JqtQqoGtxT5qIev4F7DVe
 OU5NZo5q7b0K6pi1NNjmGryrN65qw2QrlRvKEvUW0Hp5Qzfl1mVJpgtmU0mClFcbKuq6p+hML
 y3zyuHXZhdRNLXcPsQVVLETO7ZTy3FN1VdSmWMz8bnBnYq0ReS8HO7j3XA+WBVAyWDOsgixHY
 QklqyZuhFmVoZeq4cY6qAp7eJXZYwOap61X8/h0dYi6GWOYiTjq8PXiOrHHs8OM7REAest9Tw
 1Ef/x3usGLtfJgQ/voYOE6p2V6Rp98SpXMgMWya4Aj6ypNujnZkA+DAoQurQxY61Oh4bsXGjf
 SA3/+0O6Br0i2HdQuTKBh4O4g0ac+iOMQWdGDEZs/vlPVFR5qbfwlHhtQSJZiyZvGGtV4H2OM
 7q1fvOio8Y5n+1hA0Cm5yIxpriFBw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 09:25, Noam Postavsky wrote:
> If you set the virtual memory limit to 1 or 2 GB (or something
> proportional to the amount of physical memory you have) by doing
>
>     ulimit -Sv $((1000 * 1024))
>
> ...

Yes, I mentioned that alternative in the final paragraph of my initial
email. Good to hear that you can report it works; it looks like that
will have to be my work-around until debian packages emacs26. Thanks.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 13:25:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 09:25:16 2018
Received: from localhost ([127.0.0.1]:42025 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5AJn-0001hV-S9
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:25:16 -0400
Received: from mail-it0-f50.google.com ([209.85.214.50]:54991)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f5AJl-0001hJ-Oo
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:25:14 -0400
Received: by mail-it0-f50.google.com with SMTP id h143-v6so7588255ita.4
 for <31091 <at> debbugs.gnu.org>; Sun, 08 Apr 2018 06:25:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=bEdbdKP/j/7TeAsK5Z4LL9o73XWVXWpM3NDixUyp05s=;
 b=QAKgpacnF48ReHpzD/14VTycGuAdHdOMY9wbP4ZhiraH6fNxRlscg7rAzRUFObVClz
 V4p88pDeYidUxG9n+L1jlTghw4M+jEFZ3nmssYGJAw6UOF29EP9wRB1HpPmc9Fo5pVxz
 6NFHti31kt9AGZerpDR9SYqS5oyXIjsLjIuvd6oOhs3isrMC4mQMW51h9k6tx0Qkhuh7
 ci8Mosch9uLM/rWFIgELr0kLlX7Dlwu/zyG8Y3oROSzYduvZjZuDRg/jSdqtwE6OlelL
 pf8iDIAnUgxgYyA8g87kUwbiJxs7Wc0vEVcqDsMMxcgTotfbwkUCxLncdjTzxwhQIGqv
 sLIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=bEdbdKP/j/7TeAsK5Z4LL9o73XWVXWpM3NDixUyp05s=;
 b=kgIoeD7Ii5xEry20HFkt3dUHZI46TGH5BisMpgpd5rJYHN4o6w4Gk2H1AslsCWb8qM
 6ZO6jAgZ+kMoGDcYsD4+hMBu9CJVTWasEco9WHv1lJ7+IOxLEm+2Rijx07ugeu4ko2Lq
 RLtXXQGpDd6rwS0aiSfqKyyIkEMoS4lNHiayGXEiChqFbe8FaLUMB//DGCgwnTh2aEar
 J+W3oEcp+gJUZKrkNwCUBMBnhHFWKVzjP4OZ7qASER8HLGpvIwCxKk9U0eaV+Il+elf7
 Tiw00Idn5bofZ4GVDmUFp3yOgK1MYxwpX897xbxFvh6xNo+m3OJSW9nswnr1gYmpft9/
 1Wkw==
X-Gm-Message-State: ALQs6tBmLt6lAfBnRcC/4xkDJuAyT9tmA6VhnP2uopoZ27wsVz2hV/QF
 jArFTVfAAFvhslIijf7ilQpS+A==
X-Google-Smtp-Source: AIpwx4+PITUeu0uPkSbXwQVNKG8CQmRW1wfUpBoIQ5I4qQXIAg3zR0EnlbGQtjENooPkR1H81HD1rA==
X-Received: by 2002:a24:5b02:: with SMTP id
 g2-v6mr25748878itb.100.1523193908142; 
 Sun, 08 Apr 2018 06:25:08 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 d11sm6027012ioc.13.2018.04.08.06.25.07
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 08 Apr 2018 06:25:07 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
Date: Sun, 08 Apr 2018 09:25:06 -0400
In-Reply-To: <20180408072223.5mwxvwl54v4nocr3@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 03:22:23 -0400")
Message-ID: <87tvsln83x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> As emacs begins to exhaust memory, it begins to grind all system process's
> performance to a halt, which is clearly undesirable. If the user notices
> in time, either because the user is attentive to the mode line or the
> system slow-down, then the user will have an opportunity to gracefully
> exit and restart emacs, but such is not always the case, and should not
> be presumed to always be the case.

If you set the virtual memory limit to 1 or 2 GB (or something
proportional to the amount of physical memory you have) by doing

    ulimit -Sv $((1000 * 1024))

before you start Emacs, instead of allocating until system slow-down,
Emacs should stop with a message:

    Memory exhausted--use C-x s then exit and restart Emacs

Possibly also a warning like

    Emergency (alloc): Warning: past 75% of memory limit

depending on how quickly you approach the limit.

(yes, I've tried this, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26952#18)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 13:21:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 09:21:37 2018
Received: from localhost ([127.0.0.1]:42021 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f5AGH-0001cH-C5
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:21:37 -0400
Received: from mout.gmx.net ([212.227.17.20]:47131)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f5AGF-0001c3-Fh
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 09:21:35 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id
 0Lu7ty-1eNx4p0YDu-011TOj; Sun, 08 Apr 2018 15:21:29 +0200
Date: Sun, 8 Apr 2018 09:21:24 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408132124.jusy2anuweqbepki@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <83po39zwgp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <83po39zwgp.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:J2uOKzl6xFmcIZeU9iF31MHQiKdzmZDh5UdFlGSQ1Rl3BrLvYE/
 mx5YcVQNy+b7USzf2z+YLTPH5gclmYHzVY12GXbAjfuYaV5buE1w3XXG6vDdt7pxRw/jLFr
 di+8NQKY3KO/+do90vA7s1AUofQnbWEBZrSMxK1PyAy9kR7w4jVbtLy1U9CT1FsPFBik9xr
 Lu/D13mKiVzzAfJ0po0Jw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:wwGHZ1VL+SI=:FyoVpnLBQUD5Ra2OTyaT1o
 T1c9qxsB/43BetDADex3SOk8f9GTCvqlcC1G0mfcwiWMHLK6mSHuBQ3SnrZeDMX3uZ6IxE/tp
 +Th5t7s/JEBXHgSgmGBReRH0Se2zG/eFBUFcmGALw2vNCFeBQJ5iSuem1JRYYKOy4Xy4voO5y
 x9S9ISMMVMuoMGeA2aBPKbigTb9ua8HhwuyTR8+A0TyGNaSdvDV79zwlmPzpSl+OudGFBqw0D
 xMbl711EjtBgH0/pVylbaNmKJf7n0WQnIwI2+jPk6Ryyustgo7wUrAGQrf1ig7ISV+wgu4c/T
 EeafG/A+Hq4d82WWtEBHxIUg560wKl/K8G/21icg7mdAl8Vau1lQfu+OP0AQnLHMj4XJJXRfQ
 9oHFcXyiIAdGVpJN7oe4ML90O2viA/aIMfd5lWnQhPSdKNM3fgcJu5WXNWqzDT3srkQfShfiR
 5qBoRtKjD8LcXjY4UrG9G0pF7UCNp/d9RoHnlxvy+Kmzxph/pidkCui9jcYmuW+/kYzyHsxA3
 qtkqr2PPFaPu8TQjIN8ZDL1ydDVIVkZunF6CdKzq24dLgyV5mjoYfbkgHpZBAeq0g80PJEjE2
 DOB0KusLZMXj2JX72ROXOaScDJp4mf0lRAcQ/1QMir2CZFMf+2SJ5h5uTbtmICeMDCKRI31V7
 HbXB/8GJ6mSdR8OJoq9MST60TAnJ9Y5lyit7/3qUSPRGt7s/MbtkhkhJa4IylSA1o8Kvx7XL8
 nLcD9cYrHqriUh6bw8spzkJdCR6w5g886yUs6RwD9YBlzBFZcaLzqFoWepwkW1L1YDtQq9eIE
 maTjf6jCdsRPf1qaABzrmnFyX3Ygg==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 15:58, Eli Zaretskii wrote:
> FWIW, I consider automatic shutdown in this case a misfeature, because
> this is likely to shut down a session due to some memory-related bugs
> more than anything else.

You would want an emacs bug to bring down your entire system to just
short of a complete freeze (my experience of today / last night)?

>  But if others would like that, I won't block adding it as an opt-in
> option.

> I do agree with Andreas that normally a system will start paging long
> before the virtual memory threshold for that warning is exceeded.

Not my experience today / last night.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 12:58:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 08:58:22 2018
Received: from localhost ([127.0.0.1]:42000 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f59tm-00014O-CY
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 08:58:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42087)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f59tk-000149-FJ
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 08:58:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f59tc-0000kq-6T
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 08:58:15 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33798)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f59tc-0000kb-2T; Sun, 08 Apr 2018 08:58:12 -0400
Received: from [176.228.60.248] (port=3100 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f59tb-0000OO-5I; Sun, 08 Apr 2018 08:58:11 -0400
Date: Sun, 08 Apr 2018 15:58:14 +0300
Message-Id: <83po39zwgp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
In-reply-to: <20180408072223.5mwxvwl54v4nocr3@HIDDEN> (message
 from Boruch Baum on Sun, 8 Apr 2018 03:22:23 -0400)
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory exhaustion
 warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Sun, 8 Apr 2018 03:22:23 -0400
> From: Boruch Baum <boruch_baum@HIDDEN>
> 
> I would like to suggest a optional feature to automatically save
> buffers and shut down emacs / emacs-server when this condition occurs.
> The user could toggle its operation by manipulating a boolean variable.

FWIW, I consider automatic shutdown in this case a misfeature, because
this is likely to shut down a session due to some memory-related bugs
more than anything else.  But if others would like that, I won't block
adding it as an opt-in option.

I do agree with Andreas that normally a system will start paging long
before the virtual memory threshold for that warning is exceeded.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 11:49:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 07:49:50 2018
Received: from localhost ([127.0.0.1]:41952 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f58pS-0007xN-2n
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 07:49:50 -0400
Received: from mout.gmx.net ([212.227.17.20]:59647)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f58pQ-0007xB-6c
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 07:49:48 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id
 0LaGfK-1edHP02u3a-00m19d; Sun, 08 Apr 2018 13:49:41 +0200
Date: Sun, 8 Apr 2018 07:49:37 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408114937.3ryciqfbv2j5c2rv@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
 <20180408075921.2jatgor6uyulnnr7@HIDDEN>
 <87fu46f62c.fsf@HIDDEN>
 <20180408084601.r4mezduwuli7m6f5@HIDDEN>
 <878t9yeyay.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <878t9yeyay.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:0Jwubj+u2HE3P+ZsmPTql57Nyc/ggSmzFKVUMogWc3lcTG77xeX
 M5fqXjQqb39rQ3CeNt9P6Z9/9lQavqfIwV5MHaIL9IiDXSP43lKUr7P5AXnUOJtClbwuoWg
 6bhZdJS//4am2qU+dsxQ3H/2WSL5micq8NYit8M0uCmX+WONF2AQfj/2WLv17EJ/GQ76648
 BH53CVnDUaljNi8GlKizA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:KDNzeAu2QQ4=:RuUfgL/hIdcMZ14R0iRn+j
 dsj+vx6DgClqR1qCM/avjTxMz5Da1Tvvjt3fdf1xTzbzxAXiL3pbTo1bSeilyTJR1QqoiRJyj
 WYBiRCDYTbwNFvwLSoSFnGxV10ETFrMpMX3i33fzT34BH9/5J5DEvcTw0ScKcnO72JvgL8Y9b
 K2nDlBOfm7l88g63Py57xifhL/h1zEEnR6W+O98Ko9wD8THUAepnKirXV75WrvvwXgv1AeBRL
 AM0H8EVAhr0NR8LwM8sU/6TFWJ207EO7fwLGRiQArsI6P2Wf2Sa0M8YkbrY7h0O+hRpi3mR9y
 IwS2GLC/Pt+Vc/Zqfb+v6gtudfb2Mji/IsxUwqXnh1HU2jX10eIN52ctpTqdLftNhX88WVWeP
 AeC6bRuVc4Lehr8AppDn9FBtjtnAneA7m9+/C3MiHy7FK5EJS9j8savQWxGszRhMqZb2ED31f
 9sUP9xLSROfP/aeuExKo09ud/v6SVtWB1aefJ0Ei0+w/TTC17lxozZDYofH13Omg1XigG6yA8
 8Q4XlgmCuWoOxtjS+9H65K9av33eDRciKw0mOSVr4EuZZh01TLHtKorm5XjkqjnP7b8LHODlT
 3GmS6RUdBif4FTc5IOGdrGRFEUZxGhHTJIugXlIK3XAe48eBOqpt4DhOCmMIchnQ3CFer970f
 mxLjdBrb1acM47ur1HP+/Q5tDMaOOPu6uYgrs4lv2KLBp34TIlrzctCeseLkc0f5MfuE8uTGm
 ssMdPN1QXCqMbXrCFsCLy1P8fDAlL8Tc6/nloBnZHcTLAmsA8qAG0hE1+TuA55YLfr6Pz5shL
 yZvwLje/aqEPg0YWPYmfJpXX2phJA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 13:24, Andreas Schwab wrote:
> But physical memory will be exhausted long before virtual memory is.
> And it may not even be Emacs which exhausted it.

Before you commit to what you wrote, why not try it yourself first; it's
easy to do, and you will see for yourself whether what you wrote is
true. Start from your working copy of emacs, not a test instance, so
that emacs will have accumulated a nice quantity of data to populate its
various system *-ring and *-history variables, and perform apropos-value
on a common string. Repeat as necessary and see for yourself whether
what you say is true.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 11:24:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 07:24:10 2018
Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f58Qc-0005Rw-1L
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 07:24:10 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:54465)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f58QZ-0005Rn-QG
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 07:24:08 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 40Jrft6BvNz1qvBk;
 Sun,  8 Apr 2018 13:24:06 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 40Jrft4cX3z1qs4r;
 Sun,  8 Apr 2018 13:24:06 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id t8am6IO9FOQl; Sun,  8 Apr 2018 13:24:06 +0200 (CEST)
X-Auth-Info: ToI/IEXNKdOneSHGoP4nU/VwQ/QGbNTdsDlojuG3ONFe0N6TiI1IXKhU4CTFYsm0
Received: from localhost (ppp-188-174-148-14.dynamic.mnet-online.de
 [188.174.148.14])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun,  8 Apr 2018 13:24:06 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id 82F672C1139; Sun,  8 Apr 2018 13:24:05 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
 <20180408075921.2jatgor6uyulnnr7@HIDDEN>
 <87fu46f62c.fsf@HIDDEN>
 <20180408084601.r4mezduwuli7m6f5@HIDDEN>
X-Yow: Is this "BIKINI BEACH"?
Date: Sun, 08 Apr 2018 13:24:05 +0200
In-Reply-To: <20180408084601.r4mezduwuli7m6f5@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 04:46:01 -0400")
Message-ID: <878t9yeyay.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Apr 08 2018, Boruch Baum <boruch_baum@HIDDEN> wrote:

> On 2018-04-08 10:36, Andreas Schwab wrote:
>> It monitors its virtual memory.  But shortage of physical memory is more
>> difficult to detect.
>
> Virtual memory would be the relevant metric here.

But physical memory will be exhausted long before virtual memory is.
And it may not even be Emacs which exhausted it.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 08:46:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 04:46:13 2018
Received: from localhost ([127.0.0.1]:41892 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f55xl-0001rA-7G
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 04:46:13 -0400
Received: from mout.gmx.net ([212.227.17.22]:36683)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f55xj-0001qy-LP
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 04:46:12 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id
 0LsD9n-1eM6UN3NZn-013xNZ; Sun, 08 Apr 2018 10:46:05 +0200
Date: Sun, 8 Apr 2018 04:46:01 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408084601.r4mezduwuli7m6f5@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
 <20180408075921.2jatgor6uyulnnr7@HIDDEN>
 <87fu46f62c.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87fu46f62c.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:HfE1DjATIhQFWcWKOtCCrEwWNwlLHfpZyAgX4tsDIYQe3seY1Wh
 TyQsfzp5C/46eUXFys20bJg8xhdveog88bpwbYx/EKnyTu9VEWGoM+EGYIDI0JIasM7lTBZ
 wWsqpMGIQMcosowOuxDG0YNTVVdJWrxo+1x4usBHn/UDj8fJmoTQRYHkpGdBVI76e73QnrK
 EKx998tyYJHxqi2F9yk7A==
X-UI-Out-Filterresults: notjunk:1;V01:K0:/fmSDVLDt/E=:KhI6T8J/SkQGNNsTidhjRN
 VRNLWQheIriA6I+sHz7wjxvrdcaxJtHXpNCgahvT/Okf2nTRJX1rzw3FN5AmaYC+Urz+hVoWm
 nYVgHQhnFd5srh0/63PMYprcVPQpmGYHZyEjlZK2Wi6LxEz2ewuq7RVd3IaGr4s0gAPWP7hM+
 jFaIrMns35UOy+cSTKQbsNSHgp3HIe9uxxHueRVsy6R/FGV66y6HP+rdVdtvIre+VvMma9wKF
 2hEYE44zhkSVQa9vbcrVOsPTxr1H/A4EcqlnjPWVCVSbaxHbt85ktGn5xRPRX5bdjQOo2pyPf
 HM682ACRM+Go9Y1CPP7+ee6NFTVb25u3F5TtEDSNtYu0jj14jPtswNH0vDw4UQ7hRAsjiRQms
 87+Ku0KEJphrPkLBwlp2Gv1Be3x/6ypJDAJoOWRX4RzDTy/AHlpNm9xDMTf/Llm79NukhLC9J
 AYnOAypFKaJsZLGCYorXsFnjPg/TJ4eUr1qNblZyOJYX66Qv99607Rh2lwDoKtSWchFVZbJVr
 wAIDeSYi6jyLeRYbqSUynTVMAmZ6BcrJHatc/Pu2iZtmlco7KiILf+IttC5aggaLKf/fz9yNY
 eij461K+QS8z7mRLKU56us3aZy0OmqG8k5PIxfFsElR1GFylJ1yUQQyWrCNbs1+OTmBlOcqy4
 OigSnn/rw+9G1GZTbffPGq0fdiGKv3SsUBXA1fHaaVA2IvbWof/g/rwKD+C6otRfNRjZ3g5ke
 I1QP1Z36NQNqaWmBYdKSx1tfmHxBF8yM+l7HWm13oMXBNV0ppoyO0Oa5B4VhjnYJbn15yhVe4
 o1AQBd22SYVD4pzKGi23EsrlRyr7Q==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 10:36, Andreas Schwab wrote:
> It monitors its virtual memory.  But shortage of physical memory is more
> difficult to detect.

Virtual memory would be the relevant metric here.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 08:36:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 04:36:30 2018
Received: from localhost ([127.0.0.1]:41887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f55oM-0001dI-A4
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 04:36:30 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:50592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f55oL-0001d9-7A
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 04:36:29 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 40JmxS4NQkz1qtG8;
 Sun,  8 Apr 2018 10:36:28 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 40JmxS4BS3z1qs4p;
 Sun,  8 Apr 2018 10:36:28 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id QMJZxMJIT2V2; Sun,  8 Apr 2018 10:36:28 +0200 (CEST)
X-Auth-Info: EkGDF0DXT3IprCyMpIMoXBN+sOG9ERpfJfvChtKrSYERZ0E5Cm9/Q6hNtJ+WHlZ4
Received: from localhost (ppp-188-174-148-14.dynamic.mnet-online.de
 [188.174.148.14])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun,  8 Apr 2018 10:36:28 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id 834C22C1139; Sun,  8 Apr 2018 10:36:27 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
 <20180408075921.2jatgor6uyulnnr7@HIDDEN>
X-Yow: Zippy's brain cells are straining to bridge synapses...
Date: Sun, 08 Apr 2018 10:36:27 +0200
In-Reply-To: <20180408075921.2jatgor6uyulnnr7@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 03:59:21 -0400")
Message-ID: <87fu46f62c.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Apr 08 2018, Boruch Baum <boruch_baum@HIDDEN> wrote:

> On 2018-04-08 09:51, Andreas Schwab wrote:
>> How do you detect that condition?
>
> Emacs already monitors the condition, and currently performs the following:

It monitors its virtual memory.  But shortage of physical memory is more
difficult to detect.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 07:59:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 03:59:33 2018
Received: from localhost ([127.0.0.1]:41867 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f55Eb-0000mT-89
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:59:33 -0400
Received: from mout.gmx.net ([212.227.15.15]:50369)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f55EZ-0000mF-KD
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:59:32 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id
 0MBFgr-1fEkHZ31wj-00ACSY; Sun, 08 Apr 2018 09:59:25 +0200
Date: Sun, 8 Apr 2018 03:59:21 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
Message-ID: <20180408075921.2jatgor6uyulnnr7@HIDDEN>
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
 <87o9iuf85p.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87o9iuf85p.fsf@HIDDEN>
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:Lx179C74I2wYh3bFRQhVkjUg7b7njHEMEhmX6B3tsIiO2pOGE8+
 FYJ6tIyOu28HIlqzh7dO8yzGIBg56o0wI0fWw+eU2AFwqCzuFvHg7M3PEk0IMPiKmpfZocZ
 Bu373hBqSwf9x4SYLSuI9/sRFT/eff+Yf43unEWAXANgM/5YpnTBGV6RkPKAKDfVVMMlHqP
 b4U3cZLLgGgnmIF7RZKGg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:qUL0j1TGXOc=:uvQz71J7ky1PB5g8I7MYSH
 vseykjIgUbf1O2LYBRz7UUY89i1Db6aLEd/saIqB1qqZHeCGv9nHxhQLod0fj6hfzpyikLJta
 VC1LYr2hPvy7vtcoNDSmPSI2ZHeJGt8h3upFvD2R26ykXi9dmWEBS1Y9Gb7nuA34VtaTDM5Gw
 zp+3dKrXTo4Mb8ceYT4jPyhTapTYVvOuUrUXQtCZ/BdCI9Jq5cNygMkHfnSfToYODAJWW+nyn
 riZlT2fPj+s0tPd6uZFG78kqKnnPe7tAvVR3BQNDtMiMkgfMYnTSpr2TgpFpkfbk0gZCQnHZb
 hG27qxLqxIhkz3lFbc0OUoOKuAn9F3TXoG7BIchyDQAoOM3w59cjVTvnW2abKlR6Tj2F9Wgon
 K6NqKZrNfQwp4Mx0LfbLZoSOubcJxpEiEuDdw2mAbRzMOnz+LJKckUSw8waNlIBgU6QtLQwHw
 gYXa+BjwMLGf4+QEw7ZYqNMrJNMMdK/AsGrfafr//f9VnTHKaA1catCIg5dwVlw+Kx8O2h6qo
 u9sjVGQeVqR/FCM2FI5GBeho+7BLHAVpp0Yk8O1tjJHZIJzAkMs6lvEE1Z+fXgy+gTMJpNUtg
 /1gbWGzYSiHH/RZ/XIiU++kA4Lj9mcN/qQQ+Y1K62nit7uGHBrR4bgQf3HQvWg76OzYk1Mm7F
 xkvT1PMIamKmF7y6UmgR+fYb45RffiH1bGt7LbRCQj4feJBKS7oP243F4s4DOR+/aN5myfYfq
 HQmbi1RyxyK5mRL8XqFVcjXnryjyN898GlNduo3ZQbwG4thTlDqc7fYYCLaJiHQqQs2eBhYkS
 suK0zNsVrwjd5X90TosrzC+5J0J0Q==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-04-08 09:51, Andreas Schwab wrote:
> How do you detect that condition?

Emacs already monitors the condition, and currently performs the following:

1] Adds a memory warning to the mode line;

2] Warns the user with a minibuffer message, along with the suggestion
to save the current buffer and exit emacs.

The proposed feature request would optionally change that behavior.

-- 
hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at 31091 <at> debbugs.gnu.org:


Received: (at 31091) by debbugs.gnu.org; 8 Apr 2018 07:51:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 03:51:21 2018
Received: from localhost ([127.0.0.1]:41859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f556f-0000b4-5K
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:51:21 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:60534)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f556c-0000av-OI
 for 31091 <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:51:19 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 40JlxK3kTjz1qtH6;
 Sun,  8 Apr 2018 09:51:17 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 40JlxK25n8z1qs4j;
 Sun,  8 Apr 2018 09:51:17 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id ZaVAUpzWqsgS; Sun,  8 Apr 2018 09:51:16 +0200 (CEST)
X-Auth-Info: 5snvG3dAFQU7WUHJR3dS9fhgd4s2a3WdrxDf6Z3JeTBJLzEJ722vvb+hbpMGyeI9
Received: from localhost (ppp-188-174-148-14.dynamic.mnet-online.de
 [188.174.148.14])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun,  8 Apr 2018 09:51:16 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id 7532E2C1139; Sun,  8 Apr 2018 09:51:14 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#31091: 25.2: Feature Request: auto exit upon memory
 exhaustion warning
References: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
X-Yow: Has everybody got HALVAH spread all over their ANKLES??...
 Now, it's time to ``HAVE A NAGEELA''!!
Date: Sun, 08 Apr 2018 09:51:14 +0200
In-Reply-To: <20180408072223.5mwxvwl54v4nocr3@HIDDEN> (Boruch
 Baum's message of "Sun, 8 Apr 2018 03:22:23 -0400")
Message-ID: <87o9iuf85p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 31091
Cc: 31091 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

On Apr 08 2018, Boruch Baum <boruch_baum@HIDDEN> wrote:

> I would like to suggest a optional feature to automatically save
> buffers and shut down emacs / emacs-server when this condition occurs.

How do you detect that condition?

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Apr 2018 07:22:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 03:22:43 2018
Received: from localhost ([127.0.0.1]:41836 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f54ex-0008MN-EL
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:22:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1f54ev-0008MA-Vr
 for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:22:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <boruch_baum@HIDDEN>) id 1f54eq-00048R-0i
 for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:22:36 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57094)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <boruch_baum@HIDDEN>) id 1f54ep-00048N-TB
 for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 03:22:35 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38949)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <boruch_baum@HIDDEN>) id 1f54eo-0000rd-QV
 for bug-gnu-emacs@HIDDEN; Sun, 08 Apr 2018 03:22:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <boruch_baum@HIDDEN>) id 1f54ej-00044w-Tr
 for bug-gnu-emacs@HIDDEN; Sun, 08 Apr 2018 03:22:34 -0400
Received: from mout.gmx.net ([212.227.15.19]:51579)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <boruch_baum@HIDDEN>) id 1f54ej-00044R-JY
 for bug-gnu-emacs@HIDDEN; Sun, 08 Apr 2018 03:22:29 -0400
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id
 0LhOvA-1eizR504Aq-00mZG1 for <bug-gnu-emacs@HIDDEN>; Sun, 08 Apr 2018
 09:22:27 +0200
Date: Sun, 8 Apr 2018 03:22:23 -0400
From: Boruch Baum <boruch_baum@HIDDEN>
To: Emacs Bug Reporting <bug-gnu-emacs@HIDDEN>
Subject: 25.2: Feature Request: auto exit upon memory exhaustion warning
Message-ID: <20180408072223.5mwxvwl54v4nocr3@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180223
X-Provags-ID: V03:K1:TJNWrThMltysnA8WcHkGJ/IryHs2hg75AVnAmY/7KFI6A+J2odb
 UWN/OWoNiSn2wMCt8gkJJNINgJO+C8VuNcpzXO+VHbC4LKTuvf6VGaQJ+xakZvKWQpkimsD
 t5n143051azW0lHPnhfZX/BrEy7GvC4aGkhSRg4B6XK8KL3cvDVQZw19dgSl1hYP+qx2cfE
 MRzmWDKEPMrRmls/Y7CDw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:q9SEnmAOxLc=:S7NlPa6Q6iTJ2ZkeBhXSgV
 cKhsxyrsyjVCgLnEIlSquhB7VjuA3lbr6N3jfUZHAkZPRyl81ycXnsrLCEpzsIUumLWc23eF3
 xae+SbqjvqH5FNpknyjaDtDhWlBQqAacVZKEO9CEGfSXf/mluyz72YPCdEPiu9WjK8Ny95X6n
 Wuu2A0aw5qyNdZiyQGV92rP9b5r0gTqJ7KwmJczCHZQewssSDoKZDdwzYFTCIHf3k0lKGpb/6
 ytlYz7XjODGn4bcIPSyF8IdpoOy+iZQgrbt+6hGizuXzW7v3tOD+1XfFiU/QtYfqpvWgGNFdz
 od7V+JZC87OeMjEenEZXdodQ/8EeESM+n9aTAFWf1k2PYuQE+hMmb8ZtZ9G4Y4qCcJ6i7CrU4
 vTaV7rEwWiFyg6giDqKsa2/D0ixDMrTRfgWOVxDPct/Bg+dogN1QQg4uIeU53aLRBNKjWR2j7
 GLoQv4BxauIAEnUYP5tINVOmrTUSWmhGzN64r07rRExVFX8MMoSmucVWn3ptLGI++aIcF0USI
 S6Wth6b3T4qdV9xq1t55TdgnrZZLxiKbkmLpN6wrJi2mUNRqColkylO62yYEMXmQMXi9Jpvf2
 EmpEKAYF2bwEwGg7F0WomuxLxZhlO8BQAMkWQQzWsgcJX4QDZ3t2sP8i3r0JN3AE23Dhgc8ca
 ssO2dmU6hh41aORtpNgQLfkq6OglmlGNwHmdHVHAK4M3nN0engTsob5zphtIGLU/wlqAdU+Ot
 xMwhs6OKe3zMvNfkkRHzn58ebl1u4wQZ2zNHWh2RcM55tvS+MVChcoDUTC9M72OSsPPlOALP2
 aDC7DHZEKwNumwFs4hloGSuTlpLhA==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

Version: emacs 25.2, debian

As emacs begins to exhaust memory, it begins to grind all system process's
performance to a halt, which is clearly undesirable. If the user notices
in time, either because the user is attentive to the mode line or the
system slow-down, then the user will have an opportunity to gracefully
exit and restart emacs, but such is not always the case, and should not
be presumed to always be the case.

I would like to suggest a optional feature to automatically save
buffers and shut down emacs / emacs-server when this condition occurs.
The user could toggle its operation by manipulating a boolean variable.

It's default condition is for the emacs developers to decide. My vote
would be for default on, in the interest of the greater good of
preserving an entire system from grinding to a halt.

I reliably encountered memory exhaustion when testing function
`apropos-value', which creates for me that condition within five
calls.

An alternate solution, external to emacs, would be to use the shell's
`ulimit' feature, but I don't know whether this is available on all
platforms (eg. Microsoft), and would require constant tinkering of the
memory threshold limit to account for any change in requirements in the
sum of all the other system processes.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Acknowledgement sent to Boruch Baum <boruch_baum@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN.

Your message had a Version: pseudo-header with an invalid package version:

emacs 25.2, debian

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

Full text available.


Report forwarded to bug-gnu-emacs@HIDDEN:
bug#31091; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.