pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vitaliy Garnashevich <vgarnashevich@gmail.com>
To: pgsql-performance@lists.postgresql.org
Subject: Re: need help on memory allocation
Date: Wed, 24 Jan 2018 10:03:56 +0200
Message-ID: <1cee4555-fc88-df8f-d94f-18fc1f13fdc1@gmail.com> (raw)
In-Reply-To: <CADtiZxoNT4Fq01LfLVota6S_7hsHT2L0KEimozOCGJwqmFRvzA@mail.gmail.com>
References: <CADtiZxoNT4Fq01LfLVota6S_7hsHT2L0KEimozOCGJwqmFRvzA@mail.gmail.com>

Hi,

The following talk describes an issue with how Linux may handle memory 
allocation for Postgres. The issue may cause many hundreds of megabytes 
not being released in some cases.

PostgreSQL and RAM usage [Feb 27, 2017]
https://www.youtube.com/watch?v=EgQCxERi35A
see between minutes 33 and 39 of the talk

Regards,
Vitaliy

On 18/01/2018 17:25, Rambabu V wrote:
> Hi Team,
>
> 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.
>
>
> Regards,
>
> Rambabu Vakada.






view thread (10+ messages)

Message-ID: <1cee4555-fc88-df8f-d94f-18fc1f13fdc1@gmail.com>
Permalink:  ../1cee4555-fc88-df8f-d94f-18fc1f13fdc1@gmail.com/
Also on:    postgresql.org/message-id/1cee4555-fc88-df8f-d94f-18fc1f13fdc1@gmail.com

 · 

reply

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: vgarnashevich@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: need help on memory allocation
  In-Reply-To: <1cee4555-fc88-df8f-d94f-18fc1f13fdc1@gmail.com>

* 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