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