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: Wed, 15 Mar 2023 12:59:05 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> Then, from what I can read, it does not look like VIRT truly represents
>> how much memory Emacs is going to use. It is safe to assume that only a
>> fraction of VIRT will be used in practice.
>
> I don't think I follow your logic.
>
> Emacs can have more memory in use than the physically installed
> amount, it just means each GC will be painfully slow, because it will
> need to swap in parts of memory and swap out other parts.  In theory,
> Emacs can use all the VM there is, minus what other processes and the
> OS use.
>
> If your bother is about the "reserved" part, that is not supposed to
> be large, but maybe glibc has its own ideas about that, because your
> report about VIRT vs RES surprised me.

Then what should we collect from user session?
memory-limit represents VIRT, but it does not look terribly useful.

What exactly should we use as a metric for the effects of
gc-cons-threshold changes?

-- 
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]