'My Postgres RDS Database is constantly reastarting suddenly due to heavyconsumption of memory. But memory is not cosumed fully. postgres RDS

logs

The database process was killed by the OS due to excessive memory consumption. It is recommended to tune your database workload and/or parameter usage to reduce memory consumption.

But memory is not fully consumed. below is graph. check from 12:30 time in graph enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source