Excessive memory usage in org.hibernate.engine.internal.StatefulPersistenceContext

Thanks - I’ve been trying that this morning but I’m still seeing the same behaviour as before.

Because I can only reproduce it with a large volume of data, and I can’t work out how to view the content of the PersistenceContext outside of a memory dump, it’s difficult to investigate any further.