From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Rambabu V <ram.wissen@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: need help on memory allocation
Date: Fri, 19 Jan 2018 11:07:35 +0100
Message-ID: <1516356455.2491.5.camel@cybertec.at> (raw)
In-Reply-To: <CADtiZxoNT4Fq01LfLVota6S_7hsHT2L0KEimozOCGJwqmFRvzA@mail.gmail.com>
References: <CADtiZxoNT4Fq01LfLVota6S_7hsHT2L0KEimozOCGJwqmFRvzA@mail.gmail.com>
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.
Yours,
Laurenz Albe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: laurenz.albe@cybertec.at, ram.wissen@gmail.com
Subject: Re: need help on memory allocation
In-Reply-To: <1516356455.2491.5.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox