On Mon 11/30/2026 10:31 AM, Lawrence D’Oliveiro wrote:
> On Sun, 29 Nov 2026 22:44:26 -0800, Andrey Tarasevich wrote:
>
>> On Sun 11/29/2026 10:00 PM, Lawrence D’Oliveiro wrote:
>>>
>>> On Linux systems, you can set the memory-allocation policy to
>>> “overcommit”, which basically means that, when a process asks for
>>> memory, the kernel never says no
>>> <https://manpages.debian.org/proc_sys_vm(5)>.
>>
>> Well, firstly, overcommit approach simply substitutes "virtual
>> address space" in place of "actual memory" as the limited resource.
>
> No, it is actual memory that is being overcommitted.
Yes, but the whole idea of "overcommiting" simply means that the allocator will _reserve_ virtual address space without checking whether there is physical storage to back it up.
Virtual address space of the process still needs to be reserved at the moment of allocation. And virtual address space still gets "used up" by such allocations. It can eventually run out. That is the point I was making.
--
Best regards,
Andrey