emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indentation and gc


From: Ihor Radchenko
Subject: Re: Indentation and gc
Date: Tue, 14 Mar 2023 13:01:08 +0000

Eli Zaretskii <eliz@gnu.org> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]