[h2] Re: out of memory after executeBatch

2023-12-03 Thread mche...@gmail.com
I figured it out. Java jdbc need some time to flush the cache after all batch are executed. On Wednesday, 22 November 2023 at 11:36:39 UTC+8 Andrei Tokar wrote: > Hi Peter, > It is really hard to tell exactly what the problem with your code is, > because it is not a complete one, but in case of

[h2] Re: out of memory after executeBatch

2023-11-21 Thread Andrei Tokar
Hi Peter, It is really hard to tell exactly what the problem with your code is, because it is not a complete one, but in case of OOM some "irrelevant" details may be a culprit. Nevertheless, it looks like "data" is some sort of a queue, continuously populated by another thread, or just a big chu