Re: BUG #15225: [XX000] ERROR: invalid DSA memory alloc request size1073741824 / Where: parallel worker - Mailing list pgsql-bugs

From Thomas Munro
Subject Re: BUG #15225: [XX000] ERROR: invalid DSA memory alloc request size1073741824 / Where: parallel worker
Date
Msg-id CAEepm=2bMJTh=fuZFi2MbiKXUKTrF+Z7TVunTLJZP9c3ocaEgA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15225: [XX000] ERROR: invalid DSA memory alloc request size1073741824 / Where: parallel worker  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: BUG #15225: [XX000] ERROR: invalid DSA memory alloc request size 1073741824 / Where: parallel worker  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Thu, Jun 7, 2018 at 1:00 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
>> ERROR: invalid DSA memory alloc request size 1073741824
>
> Here is a proposed fix

Here is a tidier version that I'd like to commit before beta2, if
there are no objections.  I've added this to the PostgreSQL 11 open
items page.  Here's a simple way to reach the error with default
settings in unpatched master (given enough memory and disk):

create table foo (i int);
insert into foo select generate_series(1, 128000000);
set work_mem = '2GB';
select count(*) from foo f1 join foo f2 using (i);

-- 
Thomas Munro
http://www.enterprisedb.com

Attachment

pgsql-bugs by date:

Previous
From: Maxim Boguk
Date:
Subject: Re: BUG #15233: Error in estimation leads to very bad parralel planin simple 2 table join.
Next
From: PG Bug reporting form
Date:
Subject: BUG #15235: Getting failure message "Restore archive operationfailed" while restoring database