[Opensymphony-oscache] Urgent help required: Disk caching problem
Rajeev <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <24405556.1110878775696.JavaMail.os-j2ee@opensymphony01.contegix.com> |
Hi I am using both Memory as well disk caching.. I have given the following in Oscache property file cache.capacity=100 cache.unlimited.disk=false cache.persistence.overflow.only=true So after the 100 object are cached in the memory, the next 101 onwards will be cached on the Hard disk. But there is no limitation on the number of object being cached on Hard disk. How to limit this. I have defined cache.unlimited.disk=false which means disk cache will be limited in size to the value specified by cache.capacity, which is given 100 by me I hope you got what i want Regards Rajeev --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=648&messageID=2615#2615