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:50:12 +0300 Message-ID: <83a6xn3wzv.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> <83h7rv3xsc.fsf@gnu.org> <87a6xndrk3.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36053"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 18 17:51:51 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 1kJIfv-0009ER-Qb for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 17:51:51 +0200 Original-Received: from localhost ([::1]:56772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJIfu-0004iu-Pl for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 11:51:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJIe7-0002t0-5j for emacs-devel@gnu.org; Fri, 18 Sep 2020 11:49:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49902) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJIe6-0007lo-Ov; Fri, 18 Sep 2020 11:49:58 -0400 Original-Received: from [176.228.60.248] (port=4920 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJIe5-00065G-Uv; Fri, 18 Sep 2020 11:49:58 -0400 In-Reply-To: <87a6xndrk3.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 18 Sep 2020 17:37:32 +0200) 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:256103 Archived-At: > From: Lars Ingebrigtsen > Cc: Ihor Radchenko , emacs-devel@gnu.org > Date: Fri, 18 Sep 2020 17:37:32 +0200 > > I don't think anybody has said anything about just finding the largest > variable... You did, I think. Or at least I interpreted what you said that way. > For a buffer display, the natural thing would be to list the size of the > buffer itself, and then a sum of the size of all the buffer-local > variables. What about text properties and overlays? what about the buffer's markers? and what about the caches (like the newline_cache)?