pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
To: Braulio Fdo Gonzalez <brauliofg@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: RE: Logical replication 'ERROR: invalid memory alloc request size 1831213792' after upgrading to 15.13
Date: Tue, 10 Jun 2025 02:09:22 +0000
Message-ID: <OSCPR01MB149660C87F3FEC011D6FD9054F56AA@OSCPR01MB14966.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <CANO2=B=2BT1hSYCE=nuuTnVTnjidMg0+-FfnRnqM6kd23qoygg@mail.gmail.com>
References: <CANO2=B=2BT1hSYCE=nuuTnVTnjidMg0+-FfnRnqM6kd23qoygg@mail.gmail.com>

Dear Braulio,

> Hi, I'm having the issue with PG 15.13. We tried adding more memory
> (logical_decoding_work_mem) to 5 GB, but it still doesn't work, and the process
> "replicate" stops with the following error:
> "CDC Fetch Failed: An unexpected connection error occurred while attempting to
> replicate data from the source. Make sure your connection profile settings are
> correct. If the problem persists, contact Google Support."
> "ERROR: Invalid memory allocation request, size 1674007328."
> We have another environment with PG 15.12, and it works perfectly.
> This case has have relation with https://www.postgresql.org/message-id/CALDaNm2sGfKsZwm8rG132N_i0AvyxkYu8TL46kNcx7KwAUABxA%40mail.gma...

Thanks for reporting. Yes, I also feel that you faced the same issue. Since the
issue happens lower layer than the logical decoding, logical_decoding_work_mem
can't work to avoid the ERROR. We are discussing how we fix.

Best regards,
Hayato Kuroda
FUJITSU LIMITED


view thread (5+ messages)  latest in thread

Message-ID: <OSCPR01MB149660C87F3FEC011D6FD9054F56AA@OSCPR01MB14966.jpnprd01.prod.outlook.com>
Permalink:  ../OSCPR01MB149660C87F3FEC011D6FD9054F56AA@OSCPR01MB14966.jpnprd01.prod.outlook.com/
Also on:    postgresql.org/message-id/OSCPR01MB149660C87F3FEC011D6FD9054F56AA@OSCPR01MB14966.jpnprd01.prod.outlook.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: kuroda.hayato@fujitsu.com, brauliofg@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: RE: Logical replication 'ERROR: invalid memory alloc request size 1831213792' after upgrading to 15.13
  In-Reply-To: <OSCPR01MB149660C87F3FEC011D6FD9054F56AA@OSCPR01MB14966.jpnprd01.prod.outlook.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