Re: out of memory

From: martial(dot)bizel(at)free(dot)fr
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: out of memory
Date: 2006-02-14 16:32:33
Message-ID: 1139934753.43f20621ba78d@imp1-g19.free.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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(dot)bizel(at)free(dot)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
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tomeh, Husam 2006-02-14 16:45:08 0ut of Memory Error during Vacuum Analyze
Previous Message Markus Schaber 2006-02-14 16:29:32 Re: copy and postgresql.conf