pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Enrico Bianchi <enrico.bianchi@ymail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Out of Memory
Date: Thu, 15 Jan 2015 20:18:49 -0500
Message-ID: <3681.1421371129@sss.pgh.pa.us> (raw)
In-Reply-To: <54B84A83.9020003@ymail.com>
References: <54B84A83.9020003@ymail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Enrico Bianchi <enrico.bianchi@ymail.com> writes:
> When I launch a query (the principal field is JSONb), the database 
> return this:
> ERROR:  out of memory
> DETAIL:  Failed on request of size 110558.

That error should be associated with a memory usage map getting dumped to
postmaster stderr, where hopefully your logging setup will catch it.
Can we see the map?

Even better would be a self-contained test case.  Maybe you can generate
some artificial data that produces the problem?

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (58+ messages)  latest in thread

Message-ID: <3681.1421371129@sss.pgh.pa.us>
Permalink:  ../3681.1421371129@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3681.1421371129@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, enrico.bianchi@ymail.com
  Subject: Re: Out of Memory
  In-Reply-To: <3681.1421371129@sss.pgh.pa.us>
  References: <54B84A83.9020003@ymail.com> <3681.1421371129@sss.pgh.pa.us>

* 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