emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: commit limit


From: Helmut Eller
Subject: Re: MPS: commit limit
Date: Tue, 16 Jul 2024 17:43:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Tue, Jul 16 2024, Eli Zaretskii wrote:

>> This patch adds a igc--set-commit-limit function.  It doesn't fix the
>> problem with the assertion.  People who use the hot MPS build will
>> probably see a normal memory full error and probably have to quit soon
>> after that.  The others see the failed assertion and abort immediately.
>> So the end result will not be much different.
>
> Is this a debugging aid?

Yes, that too.

> If so, please say that in the doc string.

It's an internal function.  Only people who know what they're doing
should use it.

> If that's not the reason, then why would we need to limit the amount
> of memory MPS can commit?  I think we generally let Emacs use as much
> memory as the system is prepared to give it, no?

It also helps to avoid thrashing on machines that don't have many GB of
unused RAM.



reply via email to

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