Rambabu V wrote:
> we are seeing idle sessions consuming memory in our database, could you 
> please help me
> how much memory an idle session can use max and how can we find how much 
> work_mem
> consuming for single process.
> we are getting out of memory error,for this i'm asking above questions.

Are you sure that you see the private memory of the process and not the
shared memory common to all processes?

An "idle" connection should not hav a lot of private memory.

If you get OOM on the server, the log entry with the memory context dump
might be useful information.

Laurenz Albe

Reply via email to