pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yaser Raja <yrraja@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Gin Index Creation Failure
Date: Mon, 28 Aug 2017 12:00:52 -0400
Message-ID: <9754.1503936052@sss.pgh.pa.us> (raw)
In-Reply-To: <CALkbEVnZk6nRXibv+QbcjSfm6dX1Hy5cxjuP=Cv6Yp6NVgpHdg@mail.gmail.com>
References: <CALkbEVnZk6nRXibv+QbcjSfm6dX1Hy5cxjuP=Cv6Yp6NVgpHdg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Yaser Raja <yrraja@gmail.com> writes:
> While creating a gin index in Postgres 9.5.8 I got the following error
> message:
>     ERROR:  invalid memory alloc request size 2013265920
> After a number of attempts to independently reproduce this issue, i have
> found that this error comes up when the following conditions are met:
>    - Table contains more than 200M rows
>    - The maintenance_work_mem is around 1GB or higher
> ...
> I was not able to reproduce this issue in Postgres 9.6.4.

Yeah, this appears to have been fixed in commit 30bb26b5e, which was
not back-patched.

			regards, tom lane


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



view thread (2+ messages)

Message-ID: <9754.1503936052@sss.pgh.pa.us>
Permalink:  ../9754.1503936052@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9754.1503936052@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 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: tgl@sss.pgh.pa.us, yrraja@gmail.com
  Subject: Re: Gin Index Creation Failure
  In-Reply-To: <9754.1503936052@sss.pgh.pa.us>
  References: <CALkbEVnZk6nRXibv+QbcjSfm6dX1Hy5cxjuP=Cv6Yp6NVgpHdg@mail.gmail.com> <9754.1503936052@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