OutofMemory « Update « JPA Q&A





1. OutOfMemory on updates    forum.hibernate.org

Beginner Joined: Wed Mar 17, 2004 4:13 pm Posts: 21 Location: San Diego, CA I am looking to switch over from Castor to Hibernate so that I can enjoy Hibernate's richer feature set. However, I'm getting a java.lang.OutOfMemory error during my record update processing. Since there are no memory leaks in Hibernate, I must be doing something wrong! I've only been ...

2. OutOfMemory even when using flush/clear    forum.hibernate.org

Hi, I have searched the forum before I decided to open this thread. There are already two threads that describe the same problem I am facing, but unfortunately there are no answers: https://forum.hibernate.org/viewtopic.php?f=1&t=962074 https://forum.hibernate.org/viewtopic.php?f=1&t=987196 Let me describe what I am doing: I have a native sql query which I execute quite often (about 500 000 times). After 100 executions, i call ...

3. OutofMemory error from persistent set    forum.hibernate.org

I am getting outofmemory error in my java application. On analyzing heapdump of the application , I find that presistent set object of hibernate is consuming nearly 1 GB heapspace. Following are the mapping files I am using. EMSDataRecord class holds above mentioned set containing objects of EventRecords( Mapping file for this is pasted below EMSDataRecord). Primary key for EMSDataRecord is ...