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: Mon, 13 Mar 2023 15:39:44 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> >> Indeed. But despite all of the best efforts, fragmentation increases if
>> >> we delay GCs, right?
>> >
>> > Not IME, no.  That's why the memory footprint of a typical
>> > long-running session levels out.
>> 
>> Then what is the mechanism of gc-cons-threshold affecting the Emacs
>> memory footprint?
>
> Because higher threshold increases the probability that some free
> memory couldn't be released to the OS.

So, fragmentation? Or do we mis-communicate?
For me, memory fragmentation is when memory cannot be released to OS
and/or cannot be re-used to store new objects.

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