pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian Wong <bwong@imageworks.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Getting "Out of memory" errors on server 9.1.9
Date: Thu, 22 Aug 2013 19:16:55 -0400
Message-ID: <27357.1377213415@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+dZhzLEf58uHEjLUdVE4rz8SZbt-vKs+kzz6Oy6EL-h+jO=iw@mail.gmail.com>
References: <CA+dZhzLEf58uHEjLUdVE4rz8SZbt-vKs+kzz6Oy6EL-h+jO=iw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Brian Wong <bwong@imageworks.com> writes:
> I'm getting a "Out of memory" error on a 9.1.9 server.  What do these lines
> in the log mean?  ~ Brian

It's a memory usage map.  Your problem is evidently here:

>   MessageContext: 3046113280 total in 374 blocks; 24584 free (5 chunks);
> 3046088696 used

As far as I recall at the moment, MessageContext is used to parse,
analyze, and possibly to plan an incoming query.  So the short answer is
that you're trying to run a query that's too long and/or too complicated.
We'd need a lot more details before suggesting how you might work around
that.

			regards, tom lane


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



view thread (2+ messages)

Message-ID: <27357.1377213415@sss.pgh.pa.us>
Permalink:  ../27357.1377213415@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27357.1377213415@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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bwong@imageworks.com
  Subject: Re: Getting "Out of memory" errors on server 9.1.9
  In-Reply-To: <27357.1377213415@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