Hi, On 2018-03-23 15:58:55 +0000, Vladimir Sitnikov wrote: > I've got a problem with PostgreSQL 9.6.5: backend gets killed by OOM > killer, and it shuts the DB down. > Of course, the OOM case is to be investigated (MemoryContextStatsDetail, > etc), however I wonder if DB can be more robust.
Configuring overcommit_memory to not overcommit should do the trick. Greetings, Andres Freund