On Mon, Dec 14, 2009 at 7:17 PM, kalidoss < kalidoss.muthuramalin...@sifycorp.com> wrote:
> Hi, > > We have enabled the query result cache, its 512 entries, > > we have calculated the size used for cache : > page size about 1000bytes, (1000*512)/1024/1024 = .48MB > > The query result cache is a map of (q, sort, n) to ordered list of Lucene docids. Assuming queryResultWindowSize iw 20 and an average user does not go beyond 20 results, your memory usage of the values in this map is approx 20*sizeof(int)*512. Add some more for keys, map, references etc. -- Regards, Shalin Shekhar Mangar.