Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uRaMb-00Djbo-Ia for pgsql-general@arkaria.postgresql.org; Tue, 17 Jun 2025 17:44:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uRaMZ-00BpRY-Ej for pgsql-general@arkaria.postgresql.org; Tue, 17 Jun 2025 17:44:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uRaMZ-00BpRQ-3y for pgsql-general@lists.postgresql.org; Tue, 17 Jun 2025 17:44:47 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uRaMX-002aN8-1m for pgsql-general@lists.postgresql.org; Tue, 17 Jun 2025 17:44:47 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-32b50f357ecso27818381fa.2 for ; Tue, 17 Jun 2025 10:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750182285; x=1750787085; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EIUfMJpYdMwFAPRPBl2NLhQJdIT6Th63NQ0KnG06vF4=; b=hzd3VcMpQVi9sGni4zzDNjppX/buhikFVkm/2WgHZPooSX/2dGgL/Xnd+rELnTWVeH CsOeB5hOxHt4MgGOh2Tc0W41ojReFnpAfWJo1xB9o31JCiZqO93//lQLpyGj7PlAF0HZ PWLayPsgY5vkzjVXcoLf6x6oWzVjpX9zeitdHbkfDabK11EAkZcTheb/c0yJwF4NsTVs sFwF6+fao99HQIo/dlagpEZ26fortZJ8aPd5L7NiKWoFzeZMEQrswLlnkOsL770TRdyB mCNTVe84hWXAQwuih/5RQ6vL3n8aKJz/vdLKXTfI4/WBqm37UwDHx6d3kaXRIJHDsTB9 pzbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750182285; x=1750787085; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EIUfMJpYdMwFAPRPBl2NLhQJdIT6Th63NQ0KnG06vF4=; b=oH2dzG7U72gCExO1DkQW2azknpyf1FN9OtGupmwu9t/q4C5Aa9pXuo0rjJuyv4ZZNh 3gX/2l9GkxOh3cb6M64j6KriTrhmlZ8XFrpB/NZL9yOUvmPlrmFfbxPsbgZK9X5GhVoA brMdeJLQ/pGYlPnKdJQxsQH2UQq0f+AIvn9bGIOBAAv6LZwiEjcedTIW/zywwhl9SGWv qPy7z4iFgmtDRT6Pc6chLy265Osc8ClEIwOGyKVg2jckhUG8s6k9BV8W3ofu2n46eSm8 RfQuQMpJvlIiOeVBzH9yXyrg2eufGGcuIrW5NnSvault9izpKOz/EPK1BnKjzGVyrJuM K2xw== X-Forwarded-Encrypted: i=1; AJvYcCUvIAPUlYKrqOeYoN+m25Wkj2dFFCaYcIV5QIzIWIRbACEVJ+v2JjB61l9hDdvi0bUdyah4jdrMw+Bul/WN@lists.postgresql.org X-Gm-Message-State: AOJu0Yy1fe9tvZXiSpo6irfNjDi49+B2wMas3w5fcy4NHnMiQLhQdTWs DgTjAXesjEsNRstZjqAja9LihEa4nRvSNlFwYHbASDZlt/dYi+t7dw4fKFY4Y9mBh5rkQ6BgWpp tF06DEtROW8aPYv3N6KJWxlIQy3OtiLg= X-Gm-Gg: ASbGnctWmiqCzEwvi+Zd8bLY7KMkKS1ndT+qfsYO0anlVxn9ax/ytOE+C/mpwvclIkJ aL8/WeIqvO4XTzRGnvxpmxrhQthcFbbj2a6BF49hP9/H5ADU8pBRLKR0Ml0vVgbMR1NLT8T2Ewp NdoeoGMdxGOu1+fROc/eqQYJu5asWztD31sNGevoqoWq7p X-Google-Smtp-Source: AGHT+IHo+ot04EdhyAzNmpbxls5pYkrniIwyzzvIkP2P2knkNIH1+egDeVLmViHXxg8h42TSpRhMB/lDcOUZQNq2VEM= X-Received: by 2002:a2e:b888:0:b0:32a:7270:5c29 with SMTP id 38308e7fff4ca-32b4a2d8acdmr46826261fa.2.1750182284421; Tue, 17 Jun 2025 10:44:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiko Sawada Date: Tue, 17 Jun 2025 10:44:07 -0700 X-Gm-Features: AX0GCFtacREM1s-DC1d450yZtiD35bMBMxeEUk2iudlp3PKYmlWRTrJCzKLoaoA Message-ID: Subject: Re: Logical Replication Memory Allocation Error - "invalid memory alloc request size" To: "Hayato Kuroda (Fujitsu)" Cc: Max Madden , "pgsql-general@lists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jun 11, 2025 at 7:36=E2=80=AFPM Hayato Kuroda (Fujitsu) wrote: > > Dear Max, > > > We have rewritten as many of our transactions as possible to avoid usin= g > > temporary tables, and so far, that seems to have resolved the problem. > > Good to know. We try to fix as soon as possible. > I pushed the fix for this issue[1]. Regards, [1] https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommit;h=3Dd8= 7d07b7ad3b782cb74566cd771ecdb2823adf6a -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com