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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 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.
Don't get me started about those stupid light bulbs.
subject: ehcache memory issue
Similar Threads
Adding images available to the container without writing them to the file system
caching for SQL queries via Hibernate not HQL
Spring ,Hibernate & ehcache
Spring ehcache null value caching
Efficient way of handling data in memory