emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation and gc


From: Po Lu
Subject: Re: Indentation and gc
Date: Sat, 11 Mar 2023 21:00:19 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Ihor Radchenko <yantar92@posteo.net>
>> Cc: Ergus <spacibba@aol.com>, arne_bab@web.de, emacs-devel@gnu.org
>> Date: Sat, 11 Mar 2023 12:39:04 +0000
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >>                gc-cons-threshold most-positive-fixnum   ;; Defer Garbage 
>> >> collection
>> >                                    ^^^^^^^^^^^^^^^^^^^^
>> > NEVER do that!
>> 
>> That's what many people do and many people suggest.
>
> And I take every opportunity to tell people not to do.

+1.

For example, Android devices are much more strict wrt memory management
policy, and they have ``overcommit'' turned off, so Emacs has a chance
to signal out-of-memory errors.

Someone using the Android port reported that his Emacs reliably ran out
of memory after a couple of minutes of editing Org files.  It turns out
that his `gc-cons-threshold' was 512 MB!


reply via email to

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