From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: [macos] memory use up to 1gb Date: Thu, 5 Sep 2019 15:01:23 +0900 Message-ID: References: <9A49D2C4-908A-4167-A096-BCE12FFBA89C@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="107279"; mail-complaints-to="usenet@blaine.gmane.org" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 05 08:02:08 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i5kqO-000RnI-MJ for ged-emacs-devel@m.gmane.org; Thu, 05 Sep 2019 08:02:08 +0200 Original-Received: from localhost ([::1]:42576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5kqN-0002xY-0m for ged-emacs-devel@m.gmane.org; Thu, 05 Sep 2019 02:02:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59334) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5kpr-0002xO-3B for emacs-devel@gnu.org; Thu, 05 Sep 2019 02:01:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5kpp-0000Gw-G4 for emacs-devel@gnu.org; Thu, 05 Sep 2019 02:01:34 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:60691) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5kpp-0000ED-9c for emacs-devel@gnu.org; Thu, 05 Sep 2019 02:01:33 -0400 X-Originating-IP: 210.160.37.43 Original-Received: from [10.254.2.132] (unknown [210.160.37.43]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 92FF220005 for ; Thu, 5 Sep 2019 06:01:28 +0000 (UTC) In-Reply-To: <9A49D2C4-908A-4167-A096-BCE12FFBA89C@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.200 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239862 Archived-At: > On Sep 5, 2019, at 14:42, Eli Zaretskii wrote: >=20 > On September 5, 2019 6:25:08 AM GMT+03:00, Jean-Christophe Helary = wrote: >> I'm starting emacs with 30 buffers (of which 28 are files), with no >> running processes and the memory footprint is about 150 mb. >>=20 >> After a few days of working with the buffers (mostly text editing, >> org-mode use, packages updates, etc.) I end up with more than 1gb of >> memory footprint. >>=20 >> Is that an anomaly ? Does that correspond to undo information and >> other things like that ? If that's an anomaly, how do I debug that = (it >> seems to take some time to reach that value) or how do I avoid that >> phenomenon ? >>=20 >> I'm using the regularly updated "vanilla" master branche (simple = "make >> install" on macos 10.14.6). >>=20 >> Jean-Christophe Helary >> ----------------------------------------------- >> http://mac4translators.blogspot.com @brandelune >=20 > You don't say what Emacs version is that. If that's Emacs 27, make = sure you are using the latest master branch, where problems related to = GC were fixed yesterday. Thank you Eli. I thought "master" was always referring to the latest version of Emacs. = Apologies if I got that wrong. Which branch should I use to be testing = the latest code ? I just rebuilt from "master", I'll see if the issue goes away. Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune