emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: out-of-memory


From: Gerd Möllmann
Subject: Re: MPS: out-of-memory
Date: Mon, 08 Jul 2024 20:31:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Helmut Eller <eller.helmut@gmail.com> writes:

> On Mon, Jul 08 2024, Pip Cet wrote:
>
>> If I understood Helmut correctly, he wants a mechanism to avoid
>> thrashing after exceeding the memory limit. Maybe we need a special
>> state for that, in which we stop the GC but continue using our memory
>> while the user quits and goes to buy more RAM?
>
> Mabye there could be a hard and a soft limit.  When the soft limit
> is reached, Emacs could ask something like
>
>   There's little free memory left. Continue?

Good idea. One could combine that nicely with the idea of a making a
pre-allocated block available to MPS in that case. One could even have
more than one such block, and run M-x doctor to investigate the user's
mental state at some point :-). 



reply via email to

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