Lawrence =?iso-8859-13?q?D=FFOliveiro?= <l…@nz.invalid> writes:
>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.
That statement is completely orthogonal to Andrey's point, which stands. The virtual address space is fundamentally limited (40 to 64 bits generally speaking in modern CPUs), which in turn limits the amount memory that a process (or thread) can use at any one time. Leaving aside POSIX resource limits, which can also be used to limit resource usage by a process.