From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45705: [feature/native-comp] Excessive memory consumption on windows 10 Date: Thu, 07 Jan 2021 14:25:26 +0000 Message-ID: References: <87y2h5hjve.fsf@gmail.com> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38294"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: edouard.debry@gmail.com To: 45705@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 07 15:26:27 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 1kxWF9-0009qj-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jan 2021 15:26:27 +0100 Original-Received: from localhost ([::1]:36136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxWF7-0005sn-TC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jan 2021 09:26:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxWEl-0005qe-0Z for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2021 09:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxWEk-0002U0-Pp for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2021 09:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxWEk-00065P-ND for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2021 09:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jan 2021 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45705 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: =?UTF-8?Q?=C3=89douard?= Debry , 45705@debbugs.gnu.org Original-Received: via spool by 45705-submit@debbugs.gnu.org id=B45705.161002953023334 (code B ref 45705); Thu, 07 Jan 2021 14:26:02 +0000 Original-Received: (at 45705) by debbugs.gnu.org; 7 Jan 2021 14:25:30 +0000 Original-Received: from localhost ([127.0.0.1]:46910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxWED-00064I-KB for submit@debbugs.gnu.org; Thu, 07 Jan 2021 09:25:29 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:53196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxWEC-00064A-2C for 45705@debbugs.gnu.org; Thu, 07 Jan 2021 09:25:28 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 107EPQ0g026194; Thu, 7 Jan 2021 14:25:27 GMT In-Reply-To: (Andrea Corallo via's message of "Wed, 06 Jan 2021 20:55:35 +0000") 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:197484 Archived-At: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > =C3=89douard Debry writes: > >> Hello, >> >> On windows 10, I noticed that emacs could use a lot of memory, up to >> 6Go and >> sometimes more. The memory consumption goes up and down from time to >> time while >> I am not running any specific program in emacs, apart `lsp-java` >> >> As my personal computer has 16Go of RAM, I can afford >> it. Unfortunately, my work >> computer has much less and the whole compute completely freezes at one >> point >> when using emacs. >> >> I did not notice that behavior on linux. I do not know if the master >> branch has >> the same problem. What could be the problem ? > > Hi =C3=89douard, > > AFAIK was never proved recently Emacs garbage collector is failing to > recall memory, so I guess this is just some Lisp program that is > allocating a lot of memory keeping then those objects referenced. > > Others may have more detaliled info about. > > Andrea > IOW I believe this is a duplicate of bug#43389. Should we merge these? Andrea