From: Scott Marlowe <smarlowe@g2switchworks.com>
To: hugues-vincent.grislin@vif.tm.fr
Cc: pgsql-general@postgresql.org
Subject: Re: out of memory
Date: Tue, 26 Apr 2005 13:05:49 -0500
Message-ID: <1114538749.13303.1265.camel@state.g2switchworks.com> (raw)
In-Reply-To: <426E49F9.3010806@vif.tm.fr>
References: <426E49F9.3010806@vif.tm.fr>
On Tue, 2005-04-26 at 09:02, Hugues-Vincent Grislin wrote:
> Hello,
>
> I have a problem when i try to execute my request :
>
> ERROR: out of memory
> DETAIL: Failed on request of size 336.
>
> (I had execute the " VACCUM" before)
> It's a SELECT which contains several jointures (simple ones, 1-1).
> With 5 jointures there is no problem but with 6, i have this error.
>
> config :
> Postgres 7.4.7
> Linux Redhat 7.0
> RAM : 256 Mo
> swap : 256 Mo
>
> I found some threads about that but no answer.
> Thanks,
Have you analyzed the database? Try that first. If you still get an
out of memory error, try setting enable_hashagg off (set
enable_hashagg=false;) and then running the same query again and see if
it then works. If it does, post the result of
explain analyze YOURQUERYHERE
If it doesn't post the output of a plain explain, no analyze.
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: smarlowe@g2switchworks.com, hugues-vincent.grislin@vif.tm.fr
Subject: Re: out of memory
In-Reply-To: <1114538749.13303.1265.camel@state.g2switchworks.com>
References: <426E49F9.3010806@vif.tm.fr> <1114538749.13303.1265.camel@state.g2switchworks.com>
* 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