Re: Understanding Solr memory usage

2009-02-02 Thread Lance Norskog
How many total values are in the faceted fields? Not just in the faceted query, but the entire index? A facet query builds a counter array for the entire space of field values. This can take much more ram than normal queries. Sorting is also a memory-eater. On Mon, Feb 2, 2009 at 2:19 PM, Mark Mi

Re: Understanding Solr memory usage

2009-02-02 Thread Mark Miller
You shouldn't need and dont want to give tomcat anywhere near 14 of GB or RAM. You also should certainly not being running out of memory with that much RAM and that few documents. Not even close. You want to leave plenty of RAM for the filesystem cache - so that a lot of that 25 gig can be cac

Understanding Solr memory usage

2009-02-02 Thread Matthew A . Wagner
I apologize in advance for what's probably a foolish question, but I'm trying to get a feel for how much memory a properly-configured Solr instance should be using. I have an index with 2.5 million documents. The documents aren't all that large. Our index is 25GB, and optimized fairly often. We'r