• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting out of memory errors when loading large amounts of data

 
jone wiilum
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting out of memory errors when loading large amounts of data

List orders= session.createCriteria(Order.class).list();

getting out of memory exception when data is more then 10000
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you allocated enough heap space to the JVM to load that volume of data?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic