1. How can I pull objects out of hibernate and into memory. I'm hitting session problems stackoverflow.comI have a rather enormous project in which I'm trying to retrofit in-memory data. Essentially, I have a big collection of objects which contain primitives and other objects which exist in ... |
2. Out of Memory When Loading Java Entities stackoverflow.comI have a terrible problem that hopefully has a very simple answer. I am running out of memory when I perform a basic If I have code like this:
|
3. PermGen space issue with Glassfish/Hibernate stackoverflow.comI'm running a GWT+Hibernate app on Glassfish 3.1. After a few hours, I run out of Permgen space. This is without any webapp reloads. I'm running with |
4. Hibernate Extra Lazy loading and Memory stackoverflow.comRef to the Extra Lazy loading sample here.
Is there a way to free the memory occupied |
5. How to load all data in memory forum.hibernate.orgIs it possible to load all data in memory using JPA or Hibernate directly, do many transactions like create, delete, update and finally make a commit when I want?. I am trying to do something like Weblogic does, the user locks a console, does many transactions (create services, delete accounts, update costumers etc) and at the end when he presses a ... |
6. Remove the loaded object from memory! forum.hibernate.orgHi all I need to make a query that retrieve a large amount of records. I would like to know how to minimise the memory footprint. I retrieved the data like the following. Query query = session.createQuery("from account"); Iterator it = query.iterate(); while (it.hasNext()) { Object o = it.next(); // ... // ... use the object // ... session.evict(o); it.remove(); } ... |
7. memory leak because of many-to-one lazy loading forum.hibernate.orgclass A { B b; // B is mapped with many-to-one association. public void getB() { } } class B { ... public void foo() { } ... } |
8. Hiberante Memory Leak in dynamic ClassLoader forum.hibernate.orgNewbie Joined: Wed Sep 06, 2006 2:33 pm Posts: 13 I noticed the problem in this post http://forum.hibernate.org/viewtopic.php?t=930270 But I found it is NOT a problem of Application Server. To prove this, I created two simple classes. "CallJunk" repeatedly creates a URLClassLoader , loads Junk and hibernate classes, and call Junk.main(). Junk.main() opens a session and closes it. The CallJunk program ... |
9. Out of Memory Exception loading entity forum.hibernate.orgI am trying to load an entity and it results in out of memory exception. Here is my case: I have Entity A which has 1-2-many relationship with Entity B. Entity B has 1-2-many relationship with Entity C. I have added filter conditions in Entity A's hbm to load only those entities whoes id matches with id passed. I also have ... |