Sorry to bother again, if i am posting it on a wrong mailing address please let me know.
On Thu, Oct 15, 2009 at 1:03 PM, Muhammad Sufyan Shoaib < sufyansho...@gmail.com> wrote: > Hi, > > I configured Lateral TCP, so as to make caches on 2 servers to be > consistent. All i require is GET from other server to be false. > When i check the the cache just after the server starts, it shows me > 30MB > of space taken up by mitCache with 0 objects in it. Please suggest where the > memory leak. > > Note: without LTCP, memory size is around 300KB > > > Here is the following snippet of configuration (cache.ccf), > > #For LTCP Cache > jcs.default=LTCP > jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes > jcs.default.cacheattributes.MaxObjects=10000 > jcs.default.cacheattributes.UseLateral=true > jcs.default.cacheattributes.UseRemote=false > jcs.default.cacheattributes.UseDisk=false > > jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache > jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes > jcs.default.elementattributes.IsLateral=true > jcs.default.elementattributes.IsSpool=false > jcs.default.elementattributes.IsRemote=false > jcs.default.elementattributes.IsEternal=false > > > # Title Cache > #For LTCP Cache > jcs.region.mitCache=LTCP > > jcs.region.mitCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes > jcs.region.mitCache.cacheattributes.MaxObjects=10000 > > jcs.region.mitCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache > jcs.region.mitCache.cacheattributes.UseMemoryShrinker=true > jcs.region.mitCache.cacheattributes.MaxMemoryIdleTimeSeconds=60000 > jcs.region.mitCache.cacheattributes.UseLateral=true > jcs.region.mitCache.cacheattributes.ShrinkerIntervalSeconds=600 > > jcs.region.mitCache.elementattributes=org.apache.jcs.engine.ElementAttributes > jcs.region.mitCache.elementattributes.IsEternal=false > jcs.region.mitCache.elementattributes.MaxLifeSeconds=60000 > jcs.region.mitCache.elementattributes.IdleTime=60000 > jcs.region.mitCache.elementattributes.IsSpool=false > jcs.region.mitCache.elementattributes.IsRemote=false > jcs.region.mitCache.elementattributes.IsLateral=true > > > # Lateral TCP Auxiliay Cache > > jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory > > jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes > jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP > jcs.auxiliary.LTCP.attributes.TcpServers=localhost:1111 > jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110 > jcs.auxiliary.LTCP.attributes.AllowGet=false > jcs.auxiliary.LTCP.attributes.IssueRemoveOnPut=false > jcs.auxiliary.LTCP.attributes.Receive=true > > -- Muhammad Sufyan Shoaib, Senior Software Engineer, Sidat Hyder Morshed Associates.