emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation and gc


From: Eli Zaretskii
Subject: Re: Indentation and gc
Date: Sat, 11 Mar 2023 16:09:58 +0200

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: arne_bab@web.de, spacibba@aol.com, emacs-devel@gnu.org
> Date: Sat, 11 Mar 2023 13:53:03 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > The above implicitly assumes that gc-cons-threshold is the absolute
> > ceiling of the memory Emacs can allocate.  But that is not what that
> > threshold means and how it is used.  Even with the default threshold
> > of 800K a running Emacs session can allocate much more than 800K
> > bytes.
> 
> No. I took into account the fact that `gc-cons-threshold' is paired with
> `gc-cons-percentage'. The latter scales with Emacs memory usage. For the
> former, it makes sense to scale with available memory until
> `gc-cons-percentage' takes over.

I'm talking about basis for the 0.7% figure.

Anyway, how about if you try running with the threshold you think we
should adopt, and report back after a month or so, say?



reply via email to

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