bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#54698: non-recursive GC marking [PATCH]


From: Eli Zaretskii
Subject: bug#54698: non-recursive GC marking [PATCH]
Date: Wed, 06 Apr 2022 15:23:20 +0300

> From: Po Lu <luangruo@yahoo.com>
> Cc: rms@gnu.org,  p.stephani2@gmail.com,  mattiase@acm.org,  larsi@gnus.org,
>   54698@debbugs.gnu.org
> Date: Wed, 06 Apr 2022 20:05:14 +0800
> 
> Overcommit can be disabled on GNU/Linux (the relevant knob is
> vm.overcommit_memory), which will malloc return an error when there is
> no more memory left on the system, thereby triggering memory_full.

Then I think we should advise users to do that.

> malloc can also fail when it runs out of virtual memory, especially on
> 32-bit systems.

Why only 32-bit?  If overcommit is disabled, isn't the amount of VM
determined by the sum of physical memory + swap space?  If so, you
could run out of VM on 64-bit systems as well, no?





reply via email to

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