On 11/30/2026 11:46 AM, Bonita Montero wrote:
> Am 30.11.2026 um 19:34 schrieb Lawrence D’Oliveiro: >
>> Runtime memory allocators normally works in bigger units than >> individual allocation requests, anyway. This is orthogonal to the >> overcommit policy (or not) as supported by the kernel. >> >> What the Linux policy option allows is you can simply forget to >> check for out-of-memory errors.
> > Yes, because C doesn't have a proper memory exhaustion mechanism > like std::bad_alloc.
Huh? Say malloc fails...