Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ehcache memory issue

 
guru prasanth
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have used ehcache for an application.In production it's facing out of memory error.
Now i want to clear the cache based on the application logic and i don't want to leave
this to ehcache eviction policy.Now i have to extend a cache listener.How do i configure CacheEventListener
to listen when my cache size reaches say 10000.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic