aspose file tools*
The moose likes EhCache and the fly likes ehcache memory issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Caching » EhCache
Bookmark "ehcache memory issue" Watch "ehcache memory issue" New topic
Author

ehcache memory issue

guru prasanth
Ranch Hand

Joined: Aug 20, 2009
Posts: 96
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ehcache memory issue