File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

ehcache memory issue

guru prasanth
Ranch Hand

Joined: Aug 20, 2009
Posts: 102
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.
I agree. Here's the link:
subject: ehcache memory issue
It's not a secret anymore!