From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#45200: [PATCH] Force Glibc to free the memory freed Date: Wed, 03 Feb 2021 14:08:06 +0300 Message-ID: References: <83k0rz21dw.fsf@gnu.org> <331805c74fc5d3d412dd2065030b11fa3343710d.camel@yandex.ru> <8a91fc16f93298bca1281b43d6821ae3621376dc.camel@yandex.ru> <7ffacc5f-fc0e-a5f8-104d-2c0ae8e06953@gmx.at> <3f4f8b3034e9f52f48ec520f2732b1687bb24dbc.camel@yandex.ru> <31608795-6155-c7c9-7d94-6024adb0a3b9@gmx.at> <09cc70f14e90f6b13b51b0536fae76e87dfe3f42.camel@yandex.ru> <55be0318-c907-bf9b-d644-d88abb816871@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16364"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3 Cc: carlos@redhat.com, fweimer@redhat.com, 45200@debbugs.gnu.org, dj@redhat.com To: martin rudalics , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 03 12:09:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7G22-00047r-35 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 12:09:10 +0100 Original-Received: from localhost ([::1]:49222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7G21-0002pL-4e for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 06:09:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7G1u-0002pB-5G for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2021 06:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7G1t-0001vD-RH for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2021 06:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7G1t-0007tY-Mu for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2021 06:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Feb 2021 11:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45200 X-GNU-PR-Package: emacs Original-Received: via spool by 45200-submit@debbugs.gnu.org id=B45200.161235049930280 (code B ref 45200); Wed, 03 Feb 2021 11:09:01 +0000 Original-Received: (at 45200) by debbugs.gnu.org; 3 Feb 2021 11:08:19 +0000 Original-Received: from localhost ([127.0.0.1]:36935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7G1D-0007sJ-7T for submit@debbugs.gnu.org; Wed, 03 Feb 2021 06:08:19 -0500 Original-Received: from forward100j.mail.yandex.net ([5.45.198.240]:43181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7G19-0007rp-7q for 45200@debbugs.gnu.org; Wed, 03 Feb 2021 06:08:17 -0500 Original-Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 034EF50E09EF; Wed, 3 Feb 2021 14:08:08 +0300 (MSK) Original-Received: from vla5-e173276f42e0.qloud-c.yandex.net (vla5-e173276f42e0.qloud-c.yandex.net [IPv6:2a02:6b8:c18:351e:0:640:e173:276f]) by forward101q.mail.yandex.net (Yandex) with ESMTP id EF4E9CF40002; Wed, 3 Feb 2021 14:08:07 +0300 (MSK) Original-Received: from vla5-047c0c0d12a6.qloud-c.yandex.net (vla5-047c0c0d12a6.qloud-c.yandex.net [2a02:6b8:c18:3484:0:640:47c:c0d]) by vla5-e173276f42e0.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 2cZtgxqWy0-87ISFEED; Wed, 03 Feb 2021 14:08:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1612350487; bh=865N9zsrtIyP50EMpn08AnEzROasxKtqjZfygNkyhp0=; h=In-Reply-To:Cc:To:From:Subject:Message-ID:References:Date; b=dKJToqRunnUQXPKq500QFjPFI0q4Y7rtAoTe6ImaQlEvNEZL9Lbl3xI0e5LsnGp8R kNiiGgrzaTn07grZ5oq5aXPlij08Y+uwfBKzeSDsC1AHDzMC1jHncyKOMFJthAvCXK vkmj61GowQBgkEXRw44DC2rpRWZ/yFB8B5dAksV4= Authentication-Results: vla5-e173276f42e0.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by vla5-047c0c0d12a6.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id wuav4Hy7Tv-86neP3Y9; Wed, 03 Feb 2021 14:08:06 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) In-Reply-To: <55be0318-c907-bf9b-d644-d88abb816871@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199188 Archived-At: On Wed, 2021-02-03 at 12:06 +0100, martin rudalics wrote: >  >> What I meant was if people really disabled GC for the rest of their >  >> session and got away with it.  But that was only a rhetorical question >  >> to which the answer is clearly no. >  > >  > I'm not sure where you got this answer from. The first link I referred to > has a >  > user which does exactly that, and it is a highly upvoted question with 4k > views. > > If the first link refers to > > 1: > https://emacs.stackexchange.com/questions/34342/is-there-any-downside-to-setting-gc-cons-threshold-very-high-and-collecting-ga > > then > > (setq gc-cons-threshold (eval-when-compile (* 1024 1024 1024))) > (run-with-idle-timer 2 t (lambda () (garbage-collect))) > > obviously means that this author does GC as soon as Emacs is idle. Yes. I think you misread this thread, the case where the problem first came up is exactly running GC on idle.