Merge pull request #10089 from toniprieto/reduce-memory-oai

This commit is contained in:
Alan Orth
2024-12-24 09:59:34 +03:00
committed by GitHub

View File

@@ -334,6 +334,11 @@ public class XOAI {
server.add(list);
server.commit();
list.clear();
try {
context.uncacheEntities();
} catch (SQLException ex) {
log.error("Error uncaching entities", ex);
}
}
}
System.out.println("Total: " + i + " items");