From: Andreas Hauser <andreas-postgresql@creative-memory.de>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: BUG #13633: ERROR: invalid memory alloc request size
Date: Wed, 23 Sep 2015 10:04:35 +0200
Message-ID: <201509230804.t8N84ZvD000582@sol.creative-memory.de> (raw)
In-Reply-To: <CAKJS1f_sxPyBHF6=nEYwPJdKKDNjVDP91b_EJApfyGTei=ViDw@mail.gmail.com>
References: <9088.1442940520@sss.pgh.pa.us>
<CAKJS1f_sxPyBHF6=nEYwPJdKKDNjVDP91b_EJApfyGTei=ViDw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
david.rowley wrote @ Wed, 23 Sep 2015 10:57:25 +1200:
>
> On 23 September 2015 at 04:48, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> > andreas-postgresql@creative-memory.de writes:
> > > SELECT G.MarkerID,G.Allel1,G.Allel2, count (G.TierLIDint) as nH
> > > FROM GenotypHD as G, TiereInSets as TS, Marker as M
> > > WHERE TS.TierSetID='HD.09.15' and TS.TierLIDint=G.TierLIDint and
> > > M.Version='3' and M.MarkerID=G.MarkerID and G.Allel1<>G.Allel2
> > > GROUP BY G.MarkerID,G.Allel1,G.Allel2;
> >
> > > ERROR: invalid memory alloc request size 1073741824
> >
> > FWIW, I could not reproduce this on the basis of the supplied information,
> > ie just creating the tables and running this query does not do anything
> > surprising. It looks like possibly a corrupt-data issue --- can you do
> > "select * from" each table without problems?
> >
> >
> This seems related to this
> http://www.postgresql.org/message-id/9A28C8860F777E439AA12E8AEA7694F8010F6F3F@BPXM15GP.gisp.nec.co.j...
>
> work_mem, I believe, must be higher than 1GB to trigger this.
>
I can confirm that it works when work_mem is reduced to 1GB.
Cheers and thanks
Andreas
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: andreas-postgresql@creative-memory.de, david.rowley@2ndquadrant.com, tgl@sss.pgh.pa.us
Subject: Re: BUG #13633: ERROR: invalid memory alloc request size
In-Reply-To: <201509230804.t8N84ZvD000582@sol.creative-memory.de>
References: <9088.1442940520@sss.pgh.pa.us> <CAKJS1f_sxPyBHF6=nEYwPJdKKDNjVDP91b_EJApfyGTei=ViDw@mail.gmail.com> <201509230804.t8N84ZvD000582@sol.creative-memory.de>
* 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