1. java.lang.outofmemoryerror: java heap space hibernate batch insert coderanch.com
Hi, I am trying to insert bulk records into a table, the following is code in my dao. I am using spring and hibernate for(int i=0;i
2. OutOfMemoryError with large batch forum.hibernate.org
Hi, I am very new to Hibernate (and java in general), so my best effort at finding the source of this problem may seem pathetic to y'all. I think my problem is similar to: http://forum.hibernate.org/viewtopic.php?t=934169 Could it be that that lazily loaded collections are not being "unloaded" by session.clear()?...or am I missing something. I have followed the guidelines w.r.t. batch processing ...