On a project, we are using Spring + Hibernate + JPA. Updating to the last version of the COTS, having Hibernate 4.3.x :
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError
Back with version 4.2.14, no problem. I didn't find any reference to this error in the release notes or on google. Anyone also had it ?