• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CACHING in hibernate

 
Priyanku Dasgupta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

i was trying to use ehcache in one my applications and wanted to know how to find out the actual size of cache required(in MB)?

<cache name="Employee"
maxElementsInMemory="500"
eternal="true"
timeToIdleSeconds="0"
timeToLiveSeconds="0"
overflowToDisk="false"
/>
 
Sam Jimzz
Greenhorn
Posts: 28
Eclipse IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on your application., for more about generic EhCache memory configuration look HERE
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic