From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Indentation and gc Date: Tue, 14 Mar 2023 13:01:08 +0000 Message-ID: <87wn3jmqqz.fsf@localhost> References: <20230310110747.4hytasakomvdyf7i.ref@Ergus> <20230310110747.4hytasakomvdyf7i@Ergus> <87a60k657y.fsf@web.de> <838rg4zmg9.fsf@gnu.org> <87ttys4dge.fsf@web.de> <83sfebyepp.fsf@gnu.org> <87ttyru4zt.fsf@web.de> <83fsabyb41.fsf@gnu.org> <87mt4jtpqf.fsf@web.de> <83ilf7wi48.fsf@gnu.org> <878rg3wh2f.fsf@localhost> <87a60jtg0z.fsf@web.de> <877cvmumjq.fsf@localhost> <83356aukkh.fsf@gnu.org> <87y1o2t45i.fsf@localhost> <83wn3mt33c.fsf@gnu.org> <873568d7ac.fsf@localhost> <835yb4u0aa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35848"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arne_bab@web.de, spacibba@aol.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 14 14:00:39 2023 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 1pc4Gd-00098c-Az for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Mar 2023 14:00:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pc4Fw-0003h3-Ph; Tue, 14 Mar 2023 08:59:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pc4Ft-0003go-VF for emacs-devel@gnu.org; Tue, 14 Mar 2023 08:59:53 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pc4Fr-0002Ah-3G for emacs-devel@gnu.org; Tue, 14 Mar 2023 08:59:53 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 64901240889 for ; Tue, 14 Mar 2023 13:59:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1678798788; bh=Ujb9hivf7ZKltfIFcjjytlfoSZMwqFPs5xLU1h7lrvo=; h=From:To:Cc:Subject:Date:From; b=BGjnxYcfjDUznkLiEErSCRBy27QohjbNai+zyvKSjs/mcDF50RRpe1jABZO3F+FcU efckM/haNTMHtBey0d2AJxynTVKD1BDQsQn87rF6KgXLAeI4li4L3E4s69FMjGQGgT xeN7YvYDW1Xf197pIiNcNSC1GtteYWcrhbMBSlgb8dCtP5xlVjphtv+nQ5+dryQGO6 r0tQBHaio5cqnvcsAhCm9zuyHuWk0qEz8iEpjDA66FkYGFerxUlhIqYwHxVjXQORtq xoR/TIrXyjeQ68nhA7T7iz6N+OIWrQp+GGSuBgxijNCqw1eGTcl8oXls+o7fUctTdf Y/eK7xH7FB2jg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PbYX00Rb6z6trM; Tue, 14 Mar 2023 13:59:41 +0100 (CET) In-Reply-To: <835yb4u0aa.fsf@gnu.org> Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304436 Archived-At: Eli Zaretskii writes: >> > We need to align and calibrate our measurement means: what does >> > memory-report tell about object memory in that session? 1.18 GiB >> > sounds a lot. >> >> Unfortunately, memory-report is not usable in my sessions. M-x >> memory-report takes 10+ minutes and then fails with max nesting error >> for me. > > That is worth a bug report, I think. That it takes a long time could > be just a (mis)feature, but that it errors out is a bug that needs to > be solved. Well. I cannot reproduce now, though I do see this problem from time to time. Here is my current memory report for 17 hours uptime: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 28551 yantar92 20 0 3798452 1.1g 54972 S 4.7 7.2 43:13.57 emacs %MEM is typical and stabilize around similar value. Estimated Emacs Memory Usage 393 MiB Overall Object Memory Usage 298 MiB Total Buffer Memory Usage 138 MiB Reserved (But Unused) Object Memory 87 MiB Memory Used By Global Variables 14 MiB Memory Used By Symbol Plists 9.4 MiB Total Image Cache Size Object Storage 164 MiB Conses 114 MiB Vectors 75 MiB Strings 34 MiB Intervals 4.8 MiB Symbols 948 KiB Floats 175 KiB Buffer-Objects Largest Buffers 216 MiB notes.org (note: there are many eq text property values there, 216MiB looks like overestimation) 23 MiB *code-conversion-work* 7.6 MiB *Org Agenda(h)* 4.9 MiB *helm info temp buffer* 4.9 MiB *info* 2.9 MiB config.org 2.6 MiB *cfw-calendar* 2.3 MiB TODO.org 1.9 MiB *helm candidates:Info Index: elisp* 1.9 MiB *Org Agenda(s:)* 1.7 MiB Thesis.org 1.4 MiB *xref* 1.3 MiB system-config.org 1.3 MiB *Org Agenda(d:)* 1.3 MiB *helm candidates:helpful-callable* 1.2 MiB articles.org 1 MiB schedule.org 951 KiB *notmuch-id:835yb4u0aa.fsf@gnu.org* 910 KiB *Org Agenda(i)* 906 KiB *DOC* Largest Variables 23 MiB elfeed-db 18 MiB elfeed-db-entries 7.4 MiB emojify-emojis 4.7 MiB elfeed-db-index 3.9 MiB org-id-locations 2.5 MiB load-history 1.5 MiB byte-compile-form-stack 1.3 MiB straight--autoloads-cache 1 MiB ucs-normalize-hangul-translation-alist 864 KiB straight--build-cache-text 765 KiB easy-menu-converted-items-table 694 KiB url-domsuf-domains 671 KiB yas--tables 622 KiB info-lookup-cache 576 KiB face--new-frame-defaults 563 KiB modus-themes-faces 472 KiB kill-ring-yank-pointer 472 KiB kill-ring 463 KiB org-ql-node-value-cache 458 KiB winner-ring-alist -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at