From: Ninad Shah <nshah.postgres@gmail.com> Sent: Thursday, September 2, 2021 8:30 PM To: M Tarkeshwar Rao <m.tarkeshwar.rao@ericsson.com> Cc: pgsql-general@postgresql.org Subject: Re: memory consumption of memory for postgres db container
No need to worry. This isn't really a concern.
No operating system releases memory upon using it, but caches it once the program finishes. This actually saves time as memory blocks can be allocated in less time than loading new blocks.
However, if it's required to release memory, it can be performed via a few commands.