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

From Rob Sargent
Subject Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Date
Msg-id 43984f6e-0733-0316-c14d-d092c6efd9a8@gmail.com
Whole thread Raw
In response to Re: java.lang.OutOfMemoryError: GC overhead limit exceeded  (Christophe combet <chrisc_pro@yahoo.fr>)
Responses Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
List pgsql-jdbc

On 7/23/20 6:30 AM, Christophe combet wrote:
> 
> Thank you for pointing the link between auto commit an buffering.
> 
> autocommit=false: same exception.
> 
> We try fetchSize.
> 
> Thanks.
> Le jeudi 23 juillet 2020 à 13:47:14 UTC+2, Vladimir Sitnikov 
> <sitnikov.vladimir@gmail.com> a écrit :
> 
> 
>  >can you try switching to autocommit=false?
> 
> + you probably need to configure fetchSize as well.
> 
> Vladimir
> 
You set the 8G limit on the java process but did you tell up the 
available RAM?  This query would require that about 3G be available to 
hold all the data. Can you use jConsole to establish how much memory is 
available at the time of issuing the query?



pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Next
From: Vladimir Sitnikov
Date:
Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded