From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Memory usage report Date: Fri, 18 Sep 2020 18:33:07 +0300 Message-ID: <83h7rv3xsc.fsf@gnu.org> References: <87lfh8kyot.fsf@gnus.org> <83k0ws5hzt.fsf@gnu.org> <87h7rwkxtk.fsf@gnus.org> <83imcb61p7.fsf@gnu.org> <871rizl5mf.fsf@gnus.org> <83r1qz48h3.fsf@gnu.org> <871rizjogr.fsf@gnus.org> <83pn6j45rr.fsf@gnu.org> <87wo0ri6kz.fsf@gnus.org> <83o8m34433.fsf@gnu.org> <87imcb43e3.fsf@localhost> <83k0wr4222.fsf@gnu.org> <87ft7f40p8.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 18 17:40:08 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kJIUZ-000662-KY for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 17:40:07 +0200 Original-Received: from localhost ([::1]:60012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJIUY-00026c-Ku for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 11:40:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJINc-0002X0-1P for emacs-devel@gnu.org; Fri, 18 Sep 2020 11:32:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49558) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJINb-00053x-35; Fri, 18 Sep 2020 11:32:55 -0400 Original-Received: from [176.228.60.248] (port=3863 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJINa-0001Wo-48; Fri, 18 Sep 2020 11:32:54 -0400 In-Reply-To: <87ft7f40p8.fsf@localhost> (message from Ihor Radchenko on Fri, 18 Sep 2020 22:30:11 +0800) 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256100 Archived-At: > From: Ihor Radchenko > Cc: larsi@gnus.org, emacs-devel@gnu.org > Date: Fri, 18 Sep 2020 22:30:11 +0800 > > Seeing how much memory is used by buffer-local variables in org > buffers would help. Similarly, total memory consumption in variables > from individual packages would be helpful to pinpoint why the memory > usage is high. That'd require some filtering of the variables, not just finding the largest one. Did you actually see cases where something like that happens? I mean that loading some library, or all of your Org files, causes increase in memory usage of hundreds of MBs (320MB in your example)? I only see this when the buffers themselves are near that value.