• 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?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!