pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Uwe <uwe@oss4u.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: mark <pgroad@163.com>
Subject: Re: postgresql 9.5 has ocuuered OOM
Date: Wed, 20 Dec 2017 17:01:40 +0000 (UTC)
Message-ID: <8602969.9kyGVsOKG8@tiburon> (raw)
In-Reply-To: <CAKFQuwYbjwP-2ej7E-yOOhpPvimy0Zy8HOgV5VMw-aO46x3D=g@mail.gmail.com>
References: <2fd6f5eb.10a25.160747856ec.Coremail.pgroad@163.com>
	<7244900.kHztgW4kYm@tiburon>
	<CAKFQuwYbjwP-2ej7E-yOOhpPvimy0Zy8HOgV5VMw-aO46x3D=g@mail.gmail.com>

On Wednesday, December 20, 2017 9:59:24 AM PST David G. Johnston wrote:
> On Wed, Dec 20, 2017 at 9:44 AM, Uwe <uwe@oss4u.com> wrote:
> > IIRC work_mem is a PER CONNECTION setting,
> 
> ​The docs for this setting clearly state that a single connection/session
> can itself use multiple times this values for a single query.
> 
> https://www.postgresql.org/docs/10/static/runtime-config-resource.html#RUNTI
> ME-CONFIG-RESOURCE-MEMORY
> 

So even worse for the OP. No wonder he runs out of memory. 
Thanks for the correction.

Uwe

view thread (9+ messages)  latest in thread

Message-ID: <8602969.9kyGVsOKG8@tiburon>
Permalink:  ../8602969.9kyGVsOKG8@tiburon/
Also on:    postgresql.org/message-id/8602969.9kyGVsOKG8@tiburon

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: uwe@oss4u.com, david.g.johnston@gmail.com, pgroad@163.com
  Subject: Re: postgresql 9.5 has ocuuered OOM
  In-Reply-To: <8602969.9kyGVsOKG8@tiburon>
  References: <2fd6f5eb.10a25.160747856ec.Coremail.pgroad@163.com> <7244900.kHztgW4kYm@tiburon> <CAKFQuwYbjwP-2ej7E-yOOhpPvimy0Zy8HOgV5VMw-aO46x3D=g@mail.gmail.com> <8602969.9kyGVsOKG8@tiburon>

* 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