Hello, we still have memory usage problems. When debugging, we have now observed a case in which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC could not be released. Not even after the EntityManagerFactory closed.
We created a small test with which you can observe similar behavior.
The huge memory usage only occurs if we execute the query (line 56 to 61). If we remove this query, all is well.
The memory is only released after we re-run a query (on a different database).
Do you have an explanation?