pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe combet <chrisc_pro@yahoo.fr>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: pgsql-jdbc@lists.postgresql.org
Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Date: Thu, 23 Jul 2020 11:06:41 +0000 (UTC)
Message-ID: <382025017.8991457.1595502401602@mail.yahoo.com> (raw)
In-Reply-To: <CAB=Je-FS4ChhgnY41HEuYp=U_MMG2ygvNgAq77n54f8yBYECYg@mail.gmail.com>
References: <347898505.8863312.1595495804718.ref@mail.yahoo.com>
	<347898505.8863312.1595495804718@mail.yahoo.com>
	<CAB=Je-FS4ChhgnY41HEuYp=U_MMG2ygvNgAq77n54f8yBYECYg@mail.gmail.com>

 Dear Vladimir,
Thank you for your reply.
We forgot to mention the command line we used:   java -Duser.language=en -Duser.region=US -XX:ParallelGCThreads=1 -Xms8g -Xmx8g -jar our.jar jar_parameters
We generated a heap dump with 42.2.14  by adding  -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/mydump.hprof in the command line,  the dump file size is 9GB and contains not shareable data.
We are doing a "SELECT column1 FROM table1 ODER BY column1;" (column1 is   varchar(14) and the table contains 130,080,790 rows), when the exception occurs.
We tried 42.2.14 with the previous version of the database with 128,748,634 rows, the exception occurred to (it worked with 42.2.8). The exception is not linked to the increase in number of rows.
Yes, your are right, this a fetch of a very large resultset in a non-transactional manner (Autocommit:true).
Best.

    Le jeudi 23 juillet 2020 à 11:28:25 UTC+2, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> a écrit :  
 
 Do you have a heap dump? Have you reviewed to identify the cause of the memory consumption?
Is it the case that you fetch a very large resultset in a non-transactional (autocommit=true) manner?
Vladimir
  

view thread (21+ messages)  latest in thread

Message-ID: <382025017.8991457.1595502401602@mail.yahoo.com>
Permalink:  ../382025017.8991457.1595502401602@mail.yahoo.com/
Also on:    postgresql.org/message-id/382025017.8991457.1595502401602@mail.yahoo.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 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-jdbc@postgresql.org
  Cc: chrisc_pro@yahoo.fr, sitnikov.vladimir@gmail.com
  Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
  In-Reply-To: <382025017.8991457.1595502401602@mail.yahoo.com>
  References: <347898505.8863312.1595495804718.ref@mail.yahoo.com> <347898505.8863312.1595495804718@mail.yahoo.com> <CAB=Je-FS4ChhgnY41HEuYp=U_MMG2ygvNgAq77n54f8yBYECYg@mail.gmail.com> <382025017.8991457.1595502401602@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