Re: initialSize of queryResultCache and documentCache

2009-06-30 Thread Smiley, David W.
It's simply the initial size given to a Map implementation so that its internal array bucket is already sized up. See HashMap constructor args for more info. Frankly, I think this is an example of option-itis - too many configuration options. ~ David Smiley On 6/30/09 4:03 PM, "Phillip Farber

initialSize of queryResultCache and documentCache

2009-06-30 Thread Phillip Farber
I'm trying to understand the purpose of the initialSize parameter for the queryResultCache and documentCache. Is it correct that it controls how much heap is allocated to each cache at startup? I can see how it makes sense for queryResultCache since it is documented as an "ordered lists of