Re: Gin Index Creation Failure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Yaser Raja <yrraja(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Gin Index Creation Failure
Date: 2017-08-28 16:00:52
Message-ID: 9754.1503936052@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Yaser Raja <yrraja(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2017-08-28 17:43:22 Re: [BUGS] [postgresql 10 beta3] unrecognized node type: 90
Previous Message Yaser Raja 2017-08-28 15:42:33 Gin Index Creation Failure