Re: Disabling memory overcommit deemed dangerous

2025-09-03 Thread David Geier
Hi Tom! On 02.09.2025 20:10, Tom Lane wrote: > David Geier writes: > > If you are aware of such places, please submit patches to fix them, > because they are bugs with or without overcommit. Overcommit does > *not* prevent the kernel from returning ENOMEM, so this seems like > an extremely spec

Re: Disabling memory overcommit deemed dangerous

2025-09-02 Thread Tom Lane
David Geier writes: > In our documentation we recommend disabling memory overcommit to prevent > the OOM killer from kicking in, see [1]. Accordingly, we expect > PostgreSQL to handle OOM situations gracefully. In my experience there > are unfortunately several severe problems with that approach: