Article View: comp.lang.c
Article #2024Re: is a wrapper on memory-allocation calls a good idea?
From: Lawrence D’Oliveiro
Date: Mon, 30 Nov 2026 18:31
Date: Mon, 30 Nov 2026 18:31
13 lines
1778 bytes
1778 bytes
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.
Technical Details
Message-ID:
<11ekfeo$mq5n$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11eh538$3fet7$1@dont-email.me> <11ehine$3kr02$1@dont-email.me> <11ej3eh$5ajn$3@dont-email.me> <11ej60c$6bhr$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: is a wrapper on memory-allocation calls a good idea? Date: Mon, 30 Nov 2026 18:31:52 -0000 (UTC) Organization: A noiseless patient Spider Lines: 13 Message-ID: <11ekfeo$mq5n$1@dont-email.me> References: <11eh538$3fet7$1@dont-email.me> <11ehine$3kr02$1@dont-email.me> <11ej3eh$5ajn$3@dont-email.me> <11ej60c$6bhr$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 30 Nov 2026 18:31:53 +0000 (UTC) Injection-Info: dont-email.me; logging-data="747703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BThnJ0rCxIgM4AAAaKrS8"; posting-host="a13339aa161941cd02c77e7c540602f1" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:43QWNlJEfyLoedITL7SVcANSE2I= sha256:t/UeYHiRnTdsmjivd5w0ZH7s62oxSngWkvZQHfbUxbs= sha1:XJhMTA49iFxvs93nncYIS0jI3Qg= sha256:izLH8MhiyEL+AvzPGKNQw/BuB1B/iI5eRj3pIRioeAY=