Memory « Collection « JPA Q&A





1. In memory filtering of not persistent collection with Hibernate    stackoverflow.com

Ok. What I wanted was: With Hibernate, to load once a list of MyEntity objects and have that list as the internal data of a model of a jtable. ...

2. Keeping Hibernate Collections in Memory    stackoverflow.com

I am running into a problem managing my Hibernate-backed collections. The problem is illustrated in the code below; briefly,

  1. A single session and transaction are started.
  2. All instances of ClassA are ...

3. How to release multiple org.hibernate.impl.SessionFactoryImpl    stackoverflow.com

Continue solving this problem, i've found couple of 'org.hibernate.impl.SessionFactoryImpl' memory leaks using MAT:

54 instances of "org.hibernate.impl.SessionFactoryImpl", loaded by "org.apache.catalina.loader.WebappClassLoader @ 0xbb00fb0" occupy 33 962 536 (64,40%) bytes. ...

4. Hibernate collections memory overhead    forum.hibernate.org

I've been doing some profiling of late and noticed a small issue with one of my application. In this application I end up loading a heirarchy of objects in a parent/child relationship. Any node in teh tree might have children and the children are stored as a List. The issue comes in that the majority of the nodes are in fact ...