Sundar, very strange that increase of size/initialSize of LRUCache helps with OutOfMemoryError...

2048 is number of entries in cache and _not_ 2Gb of memory...

Making size==initialSize of HashMap-based LRUCache would help with performance anyway; may be with OOMs (probably no need to resize HashMap...)



In these 3 params, I changed "size" from 512 to 2048. 3. Restarted the server



sorting> > I know, and this is strange... I was guessing filterCache is used > implicitly to get DocSet for token; as Sundar wrote, increase of > LRUCache helped him (he is sorting on 'text-ws' field)> -Fuad> >> If increasing LRU cache helps you:> >> - you are probably using 'tokenized' field for sorting (could you confirm> >> please?)...> >> > Sorting does not utilize any Solr caches.> >> > -Yonik> >> > >
_________________________________________________________________
Searching for the best deals on travel? Visit MSN Travel.
http://msn.coxandkings.co.in/cnk/cnk.do



Reply via email to