Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qKCS6-0006CT-1K for pgsql-sql@arkaria.postgresql.org; Fri, 14 Jul 2023 06:38:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qKCS3-0001Rj-Da for pgsql-sql@arkaria.postgresql.org; Fri, 14 Jul 2023 06:38:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qKCS3-0001Ra-4I for pgsql-sql@lists.postgresql.org; Fri, 14 Jul 2023 06:38:51 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qKCRz-000K4y-Jt for pgsql-sql@lists.postgresql.org; Fri, 14 Jul 2023 06:38:49 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-992b2249d82so208933266b.1 for ; Thu, 13 Jul 2023 23:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689316726; x=1691908726; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oUARIjCRbHPRZhq2UzA4EPgvbkDwx/RXwmICAWLyA3I=; b=j8h2i9rn6GNRfuRuQH8cBBlPPhaESQOWX8d+EVScERDA9DSRonhfdMUHGKTxfDOaft h4S9qtvwhBipy/mdE5HMtyDv/m2CAmTAAh46hMrxc+/8varoPa4XNn/T+c9rGk74E4nl ww8Ugxjp6RPeFkDfY91yeHUHsYTKcqYHGF5kj2XkPiB3B7WzgtVDAxoTwbdHE0asfrtu xoh4KQRviMgm8LRPUzmejznq5jb2aDOzI2HHfg2NJGqK6FzkG9OSXZ0kRaVk0LIh0Q22 Q6938ybC3V7G38294kDIKZsPYsNaLZRmr8m7cqz2uE60qxCJrUbPIa/oK8Xn6IMEEYa2 uCEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689316726; x=1691908726; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oUARIjCRbHPRZhq2UzA4EPgvbkDwx/RXwmICAWLyA3I=; b=NoR/Oo8mMMEB1MdF3XopDGMYl/VPATBMZ3Xr07UD2eMDRjy5/OWJdPXo4f03HHuYqC mZjRfTfuxByNe62REqTvWW8GbIwTuQRipVl4oUWmjl6CDQ+GH+NbEAo2fBXeVIGLmhnz OpI8w0+yp0hsomDpQ0l0E5WJkyUCYevgOjZGY/HRWQo3C5w7z1MMwBEdukdT8X24elPo o9qRXMN2M19oP+qhAS2W9ireE8/aV4Aj4VEe80UYj/a4cMJfRRlqZK1PP8JaaGalXf1/ U3mmXBOlARB7qzAVit/KH+IEAcMs6c+MUXi5heKvyYVANYIC8Rz1z9/3y+ABYbHRH5MY FHtQ== X-Gm-Message-State: ABy/qLZhhsU89bCinXmfl6LMnGi2P1gAkvtcyNXXUN1cUauQxmfGffs4 Lv9rp6pdT8tW93yb/OjhToR7vOfwFkNRLd3QNbUKq/gcB5M= X-Google-Smtp-Source: APBJJlHQ/DZYUWbV6Ou3Ys8jky2+0pwCjPSQTCTxj3BpinFtHsztWefmiUgVOEHMDnPjVXLL4VQrm+d4ARZsNJR0nyo= X-Received: by 2002:a17:906:224a:b0:993:d700:8a46 with SMTP id 10-20020a170906224a00b00993d7008a46mr3740762ejr.16.1689316725926; Thu, 13 Jul 2023 23:38:45 -0700 (PDT) MIME-Version: 1.0 From: Shaozhong SHI Date: Fri, 14 Jul 2023 07:38:34 +0100 Message-ID: Subject: Memory allocation error To: pgsql-sql Content-Type: multipart/alternative; boundary="0000000000005cb16606006cb395" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000005cb16606006cb395 Content-Type: text/plain; charset="UTF-8" A function is being called in a loop. Sometime, there is an error. sqlstate: XX000 NOTICE: message: invalid memory alloc request size 1073741824 What to do to resolve the issue? Regards, David --0000000000005cb16606006cb395 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A function is being called in a loop.=C2= =A0 Sometime, there is an error.

sqlstate: XX000
NOTICE:=C2=A0 message: invalid memory alloc request size 1073741824=

What to do to resolve the issue?
=
Regards,

David
--0000000000005cb16606006cb395--