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 1jyc4e-0008AM-Qa for pgsql-jdbc@arkaria.postgresql.org; Thu, 23 Jul 2020 14:19:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jyc4d-0005fw-J3 for pgsql-jdbc@arkaria.postgresql.org; Thu, 23 Jul 2020 14:19:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyc4c-0005fp-KI for pgsql-jdbc@lists.postgresql.org; Thu, 23 Jul 2020 14:19:51 +0000 Received: from sonic311-30.consmr.mail.ir2.yahoo.com ([77.238.176.162]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jyc4Y-0001jU-Rd for pgsql-jdbc@lists.postgresql.org; Thu, 23 Jul 2020 14:19:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1595513984; bh=hXClBvr1CJl8wPtn8PYBuNO2EodkAR0cMFZkY8ssg8o=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject; b=Lb9H/FSC53nqph7YMDEm4Wq2wdNeyezNFU8EG6JduBWmd8VdEuF/ea6qP8CUjYlxCW2GihEK8MolQm6AkPawsuugnEDMOVp5aIHV2e/VaQHcXKDh8sUWWsWTa+YoqqJ2ukxww0Wr1X4Xxcri8RXWXQj77SF7xSrAG8i0qrx30Tz3Yi1++xduCYth6mH90fqIEh7Sy4yeziPZ4CkrssJHM3pJOyYDmHjBogxc8+HYcgvEOX67XLMxTYoRb8W0AQzOZpjph2+dRsp5xeqMkA2+lknCMX2i54W32F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wBZHWzOml7pf3MbGN7gsteqqQtPwDkuWhEcjMR7 rVO1tGyQh2gidQiRQ6g0xJ4SqyTv27ISq.fgrbwvakFYXu5Nkz0P0x2fTnGSqf8ljk9IbVfviN7d 3sxcW44USX1T44eL4aDH2_YdejF.kArX6WYnYnaFL_DlICR1enON0pT3xkyUIgijSWtWVEfMsgJF 02WLCeh9j9T68U7VhTcx3uaEO5jZYuOjJOasmA96b1hNDVlTbXCsUIGCZTxxImlUJGa.VXccRdLO T0o4WNgY9zk8R78_xVb67rzxt Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Thu, 23 Jul 2020 14:19:44 +0000 Date: Thu, 23 Jul 2020 14:19:43 +0000 (UTC) From: Christophe combet To: Dave Cramer Cc: Vladimir Sitnikov , pgsql-jdbc@lists.postgresql.org Message-ID: <1479303015.9175876.1595513983577@mail.yahoo.com> In-Reply-To: References: <347898505.8863312.1595495804718.ref@mail.yahoo.com> <347898505.8863312.1595495804718@mail.yahoo.com> <382025017.8991457.1595502401602@mail.yahoo.com> <928088161.9058165.1595507441236@mail.yahoo.com> <1623541738.9101116.1595510491187@mail.yahoo.com> Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9175875_177911922.1595513983575" X-Mailer: WebService/1.1.16271 YMailNorrin Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15 Content-Length: 8462 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_9175875_177911922.1595513983575 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear Dave, The table definition is: CREATE TABLE mytable (=C2=A0 =C2=A0 column1 character varying(14) NOT NULL,= =C2=A0 =C2=A0 column2 integer NOT NULL,=C2=A0 =C2=A0 column3 bytea NOT NULL= ); ALTER TABLE ONLY mytable=C2=A0 =C2=A0 ADD CONSTRAINT mytable_pkey PRIMARY K= EY (column1); Column column3 contains zipped data (BLOB and toast table). The full dump of the table (pg_dump as SQL text) is 24GB. =C2=A0=C2=A0Thanks. Le jeudi 23 juillet 2020 =C3=A0 15:24:54 UTC+2, Dave= Cramer a =C3=A9crit : =20 =20 =20 On Thu, 23 Jul 2020 at 09:21, Christophe combet wrote= : =20 autocommit=3Dfalse &=C2=A0fetchSize=3D100 or 10000=C2=A0: same exception. 42.2.10 still running. Is there a very large column in there=C2=A0 Dave Cramerwww.postgres.rocks =C2=A0 Le jeudi 23 juillet 2020 =C3=A0 14:30:56 UTC+2, Christophe combet a =C3=A9crit : =20 =20 =20 Thank you for pointing the link between auto commit an buffering. autocommit=3Dfalse: same exception. We try=C2=A0fetchSize. Thanks. Le jeudi 23 juillet 2020 =C3=A0 13:47:14 UTC+2, Vladimir Sitniko= v a =C3=A9crit : =20 =20 >can you try switching=C2=A0to autocommit=3Dfalse? + you probably need to configure fetchSize as well. Vladimir =20 =20 ------=_Part_9175875_177911922.1595513983575 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=
Dear Dave,

The table definition is:

<= /div>
CREATE TABLE mytable = (
    column1 charact= er varying(14) NOT NULL,
 =   column2 integer NOT NULL,
    column3 bytea NOT NULL
);

ALTER TABLE ONLY mytable
    ADD CONSTRAINT mytable_pkey PRIMARY KEY (column1);

Column column3 cont= ains zipped data (BLOB and toast table).

The full dump of the table (pg_dump as SQL text) is= 24GB.
  
Thanks.
=20
=20
Le jeudi 23 juillet 2020 =C3=A0 15:24:54 UTC+2, Dave Cr= amer <davecramer@postgres.rocks> a =C3=A9crit :




On T= hu, 23 Jul 2020 at 09:21, Christophe combet <chrisc_pro@yahoo.fr> wrote:

autocommit=3Dfalse &&nb= sp;fetchSize=3D100 or 10000 : same exception.

42.2.10 still running.

Is there a very large column in t= here 


Dave Cra= mer
www.postgres.rocks



 <= /div>
<= div style=3D"font-family:Helvetica, Arial, sans-serif;font-size:13px;"> =20
=20
Le jeudi 23 juillet 2020 =C3=A0 14:30:56 UTC+2, Christo= phe combet <chrisc_= pro@yahoo.fr> a =C3=A9crit :



Thank you for pointi= ng the link between auto commit an buffering.

autocommit=3Dfalse: same exception.

W= e try fetchSize.

Thanks.
=20
=20
Le jeudi 23 juillet 2020 =C3=A0 13:47:14 UTC+2, Vladimi= r Sitnikov <sitnikov.vladimir@gmail.com> a =C3=A9crit :


>can you try switching to autocommit=3Dfalse= ?

+ you probably need to configur= e fetchSize as well.

Vladimir

------=_Part_9175875_177911922.1595513983575--