Am 22.10.2020 um 07:48 schrieb Tanvi Shah:
Hi ,
So I tried using  jdbc:postgresql://host:port/database?defaultRowFetchSize=10
  And this didn't work and I again got Out Of Memory exception.

When i debbuged I found that  
(https://github.com/apache/jackrabbit-oak/blob/5af43cb29fb6cfc226eac6f89bf4985d7ce6d89f/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStoreJDBC.java#L590>)
 the limit in the above code is not changes and it is the value of MAX INT Value.
> ...

Yes, but that's a different limit...

You may want to try modifying the code to directly call
<https://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#setFetchSize(int)>
and see whether that would help.

Best regards, Julian

Reply via email to