From: martial.bizel@free.fr
To: pgsql-performance@postgresql.org
Subject: Re: out of memory
Date: Tue, 14 Feb 2006 17:32:33 +0100
Message-ID: <1139934753.43f20621ba78d@imp1-g19.free.fr> (raw)
In-Reply-To: <1139934097.22740.182.camel@state.g2switchworks.com>
References: <1139930651.43f1f61b04773@imp2-g19.free.fr>
<15115.1139931169@sss.pgh.pa.us>
<1139933018.43f1ff5a5e542@imp6-g19.free.fr>
<1139933201.22740.179.camel@state.g2switchworks.com>
<1139933720.43f20218cfe3a@imp6-g19.free.fr>
<1139934097.22740.182.camel@state.g2switchworks.com>
command explain analyze crash with the "out of memory" error
I precise that I've tried a lot of values from parameters shared_buffer and
sort_mem
now, in config file, values are :
sort_mem=32768
and shared_buffer=30000
server has 4Go RAM.
and kernel.shmmax=307200000
> On Tue, 2006-02-14 at 10:15, martial.bizel@free.fr wrote:
> > Yes, I've launched ANALYZE command before sending request.
> > I precise that's postgres version is 7.3.4
>
> So what does explain analyze show for this query, if anything? Can you
> increase your sort_mem or shared_buffers (I forget which hash_agg uses
> off the top of my head...) if necessary to make it work. Note you can
> increase sort_mem on the fly for a given connection.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
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: martial.bizel@free.fr
Subject: Re: out of memory
In-Reply-To: <1139934753.43f20621ba78d@imp1-g19.free.fr>
* 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