From: Christophe combet <chrisc_pro@yahoo.fr>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19
Date: Tue, 12 Jun 2018 21:43:17 +0000 (UTC)
Message-ID: <94578609.7479701.1528839797207@mail.yahoo.com> (raw)
In-Reply-To: <2120893212.2682655.1526396569241@mail.yahoo.com>
References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com>
<2120893212.2682655.1526396569241@mail.yahoo.com>
Le mercredi 16 mai 2018 à 09:48:54 UTC+2, ChatPristi <cchristo_0899@yahoo.fr> a écrit :
Dear all,
I have a SELECT command (in partitionned tables) that failed with:psql:/tmp/query.txt:1: ERROR: out of memory
DETAIL: Cannot enlarge string buffer containing 1073741818 bytes by 32 more bytes.
I got the error with PG 10.3 and 10.4 on CentOS 7 up-to-date.The command works with a smaller size database.
The command works with the same database with PG 9.3.19 on RHEL 6.9 up-to-date.
I attach the EXPLAIN SELECT command.
Apart rewriting the query is there any parameter that could be changed to make the query work in the postgresql.conf ?
Thank you very much for any help.
Hello,
Any ideas where the OOM comes from in 10.4 while 9.3 is working ?
Thanks.
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: chrisc_pro@yahoo.fr
Subject: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19
In-Reply-To: <94578609.7479701.1528839797207@mail.yahoo.com>
References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com> <2120893212.2682655.1526396569241@mail.yahoo.com> <94578609.7479701.1528839797207@mail.yahoo.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