java.lang.OutOfMemoryError: GC overhead limit exceeded - Mailing list pgsql-jdbc

From Christophe combet
Subject java.lang.OutOfMemoryError: GC overhead limit exceeded
Date
Msg-id 347898505.8863312.1595495804718@mail.yahoo.com
Whole thread Raw
Responses Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
List pgsql-jdbc
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)


pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: [pgjdbc/pgjdbc] aa190c: test: reduce stdout verbosity of CopyLargeFileTest
Next
From: Vladimir Sitnikov
Date:
Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded