Re: whole index in memory

2013-06-02 Thread Erick Erickson
A must read when you are considering this is here: http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html Best Erick On Sat, Jun 1, 2013 at 8:56 AM, Ramkumar R. Aiyengar wrote: > In general, just increasing the cache sizes to make everything fit in > memory might not always give

Re: whole index in memory

2013-06-01 Thread Ramkumar R. Aiyengar
In general, just increasing the cache sizes to make everything fit in memory might not always give you best results. Do keep in mind that the caches are in Java memory and that incurs the penalty of garbage collection and other housekeeping Java's memory management might have to do. Reasonably rec

whole index in memory

2013-05-31 Thread alxsss
Hello, I have a solr index of size 5GB. I am thinking of increasing cache size to 5 GB, expecting Solr will put whole index into memory. 1. Will Solr indeed put whole index into memory? 2. What are drawbacks of this approach? Thanks in advance. Alex.