Hi Thomas, I'm referring to the cache used when a binary file is read from the db. As I suppose to know, JR read the binary from db and put it in a cache file system area. Is it right?
If yes, how much resources are allocated to that cache? Thanks in advance. Bye. Andrea - Thomas Mueller-6 wrote: > > Hi, > >> is there a way to tune the internal JR cache? > > I just wrote a section on the Jackrabbit wiki, see > http://wiki.apache.org/jackrabbit/ExamplesPage > at the very bottom, 'Jackrabbit Cache Configuration'. > > CacheManager manager = ((RepositoryImpl) repository).getCacheManager(); > manager.setMaxMemory(8 * 1024 * 1024); // default is 16 * 1024 * 1024 > manager.setMaxMemoryPerCache(1024 * 1024); // default is 4 * 1024 * 1024 > manager.setMinMemoryPerCache(64 * 1024); // default is 128 * 1024 > >> I mean file cache created reading from db. > > I am not sure if the item state cache is the cache you refer to. If > not, could you please explain what you mean with file cache? > > Thanks, > Thomas > > -- View this message in context: http://www.nabble.com/Cache-tuning-tf4006209.html#a11414553 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
