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: Wed, 06 Jan 2021 20:55:35 +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="33897"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45705@debbugs.gnu.org To: =?UTF-8?Q?=C3=89douard?= Debry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 06 21:56:11 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 1kxFql-0008fX-26 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 21:56:11 +0100 Original-Received: from localhost ([::1]:42896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxFqk-00071v-3h for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 15:56:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxFqc-00070K-M1 for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 15:56:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxFqc-0007HG-Ew for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 15:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxFqc-00037O-Dd for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 15:56: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: Wed, 06 Jan 2021 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45705 X-GNU-PR-Package: emacs Original-Received: via spool by 45705-submit@debbugs.gnu.org id=B45705.160996653911957 (code B ref 45705); Wed, 06 Jan 2021 20:56:02 +0000 Original-Received: (at 45705) by debbugs.gnu.org; 6 Jan 2021 20:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:45724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFqF-00036n-LR for submit@debbugs.gnu.org; Wed, 06 Jan 2021 15:55:39 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:61564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFqD-00036e-7b for 45705@debbugs.gnu.org; Wed, 06 Jan 2021 15:55:38 -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 106KtaUb005111; Wed, 6 Jan 2021 20:55:36 GMT In-Reply-To: <87y2h5hjve.fsf@gmail.com> ("=?UTF-8?Q?=C3=89douard?= Debry"'s message of "Wed, 06 Jan 2021 21:48:37 +0100") 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:197459 Archived-At: =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