On Tue, Nov 10, 2009 at 8:07 AM, bharath venkatesh <bharathv6.proj...@gmail.com> wrote: > how much ram would be good enough for the Solr JVM to run comfortably.
It really depends on how much stuff is cached, what fields you facet and sort on, etc. It can be easier to measure than to try and calculate it. Run jconsole to see the memory use, do a whole bunch of queries that do all the faceting, sorting, and function queries you will do in production. Then invoke GC a few times in rapid succession via jconsole and see how much memory is actually used. Double that to account for a new index searcher being opened while the current one is still open (that's just the worst case for Solr 1.4... the average reopen case is better since many segments can be shared). Add a little more for safety. -Yonik http://www.lucidimagination.com