It should be disabled by default. But you can also use: jcs.default.cacheattributes.UseMemoryShrinker=false
On 5/11/06, Lin, Shan <[EMAIL PROTECTED]> wrote:
For version 1.2.7.0 we tested and dumped the heap, it doesn't reveal any leaks so far. But to be sure that we cover more testing scenario, I'd like to disable 'shrinkable' cache feature. Do you (or anyone) know how to config to make the cache not shrinkable even when it is idle? Thanks, Shan -----Original Message----- From: Alistair Forbes [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:53 AM To: JCS Users List Subject: Re: Cache.ccf changes after upgrading to version 1.2.7 Have you done any profiling/analysis to see where the memory is leaking? I have done some quick analysis by dumping the heap with jmap/jhat (jdk1.6tools), but I could not find anything conclusive. I will do some more testing on a smaller sample of data when I get some time. Regards Al On 5/9/06, Lin, Shan <[EMAIL PROTECTED]> wrote: > > We had been using JCS turbine version for years and had memory leak > issue. Recently we just upgraded to version 1.2.7.0 in a hope that it > will fix the memory leak issue. Could someone shed some light on > whether the following configuration settings still make sense? (it > doesn't complain when the app uses the new version though) Especially > the entries of jcs.system.groupIdCache.*, do I have to use them? > > Thanks, > Shan > > ---------------------------------------- > > jcs.default=DC > jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttrib > ut > es > jcs.default.cacheattributes.MaxObjects=250 > jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memo > ry > .lru.LRUMemoryCache > jcs.default.elementattributes.IsEternal=false > jcs.default.elementattributes.MaxLifeSeconds=3600 > jcs.default.elementattributes.IdleTime=1800 > jcs.default.elementattributes.IsSpool=true > jcs.default.elementattributes.IsRemote=true > jcs.default.elementattributes.IsLateral=true > jcs.system.groupIdCache=DC > jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.Composit > eC > acheAttributes > jcs.system.groupIdCache.cacheattributes.MaxObjects=10000 > jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs > .e > ngine.memory.lru.LRUMemoryCache > jcs.region.assessment.html.elementattributes.IsEternal=true > jcs.region.assessment.xml.elementattributes.IsEternal=true > jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCach > eF > actory > jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.Inde > xe > dDiskCacheAttributes > jcs.auxiliary.DC.attributes.DiskPath=/tmp/eri/cache > jcs.region.tamino.pubsetcache=DC > jcs.region.tamino.pubsetcache.cacheattributes.MaxObjects=100 > jcs.region.tamino.pubsetcache.elementattributes.IsEternal=true > jcs.region.tocdom.cache=DC > jcs.region.tocdom.cache.cacheattributes.MaxObjects=100 > jcs.region.tocdom.cache.elementattributes.IsEternal=true > jcs.region.toc.html=DC > jcs.region.toc.html.cacheattributes.MaxObjects=200 > jcs.region.toc.html.elementattributes.IsEternal=true > jcs.region.collegeboard.pdf=DC > jcs.region.collegeboard.pdf.cacheattributes.MaxObjects=2 > > Shan Lin > Application Architect, Assessment Delivery Platforms The College Board > 11911 Freedom Drive, Suite 300 > Reston, VA 20190 > 703.480.8961 (Phone) > 703.707.5596 (Fax) > [EMAIL PROTECTED] > http://www.collegeboard.com/highered/index.html > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]