News for hackers. Stuff that matters.
Re:Vm.overcommit_memory=2 is always the right setting for se... by vin10 on Friday December 19, 2025 @03:33PM (#46330561)
For anyone feeling brave enough to disable overcommit after reading this, be mindful that default `vm.overcommit_ratio` is 50% which means that if no swap is available, on a system with 2GB of total RAM, more than 1GB of RAM can't be allocated and requests will fail with preemptive OOMs. (e.g. postgresql servers typically disable overcommit)

- https://github.com/torvalds/linux/blob/master/mm/util.c#L753

There are no comments on this comment yet.