Hello! First, I know that Hibernate Validator 6.0 is supposed to have improvements with memory usage, but we are currently on Hibernate 5.2. Is that compatible with Validator 6.0? How would I go about seeing what versions of Validator work with what versions of Hibernate core?
Is there something we can do about memory consumption in the Validator of 5.2.x?
We’re coming from Hibernate version 4.3 to 5.2, where 4.3’s SessionFactory memory footprint is much much lower. Here’s a memory snap of an example class we have retaining a SessionFactory (we retain some in tests sometimes).