pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe combet <chrisc_pro@yahoo.fr>
To: pgsql-jdbc@lists.postgresql.org
Subject: java.lang.OutOfMemoryError: GC overhead limit exceeded
Date: Thu, 23 Jul 2020 09:16:44 +0000 (UTC)
Message-ID: <347898505.8863312.1595495804718@mail.yahoo.com> (raw)
References: <347898505.8863312.1595495804718.ref@mail.yahoo.com>

Hello,
We upgraded PostgreSQL JDBC Driver 42.2.8 to PostgreSQL JDBC Driver 42.2.14 on July 15th and launched our workflow. It ended prematurely yesterday with Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded. The subprocess giving the exception died after ~20 minutes  (it should take 1-2 days).
We tried 42.2.12, it gave the same end with the same running time. 
We tried 42.2.10 and it is working for more than1 hour at the time of writing this message.
Our PostgreSQL database does not change between the runs (it is frozen for several months).
We are running PostgreSQL 10.13 on CentOS Linux release 7.8.2003 (Core) (kernel 3.10.0-1127.13.1.el7.x86_64 and OpenJDK Runtime Environment (build 1.8.0_252-b09)/OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
Is there a change in 42.2.11 or 42.2.12 that could explain the exception raised ?
Thank you for your help.
All the best.
--
42.2.14:Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.String.replace(String.java:2078) at java.util.ResourceBundle$Control.toResourceName(ResourceBundle.java:2961) at java.util.ResourceBundle$Control.toResourceName0(ResourceBundle.java:2970) at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2670) at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1518) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1482) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1436) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1370) at java.util.ResourceBundle.getBundle(ResourceBundle.java:782) at org.postgresql.util.GT.<init>(GT.java:33) at org.postgresql.util.GT.<clinit>(GT.java:21) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2240) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:312) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:310) at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:296) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:273) at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:226) at our code here
42.2.12:Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded(nothing else)

view thread (21+ messages)  latest in thread

Message-ID: <347898505.8863312.1595495804718@mail.yahoo.com>
Permalink:  ../347898505.8863312.1595495804718@mail.yahoo.com/
Also on:    postgresql.org/message-id/347898505.8863312.1595495804718@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
  Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
  In-Reply-To: <347898505.8863312.1595495804718@mail.yahoo.com>
  References: <347898505.8863312.1595495804718.ref@mail.yahoo.com> <347898505.8863312.1595495804718@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