: On Thu, Nov 5, 2015 at 4:55 PM, Renee Sun <renee_...@mcafee.com> wrote: : > Also Yonik, out of curiosity... when I run stats on a large msg set (such as : > 200 million msgs), it tends to use a lot of memory, this should be expected : > correct? : : With the stats component, yeah.
the amount of RAM needed by the stats component for the default stats is fixed -- regardless of how many docs/values where are. So in Solr 3.x, unless you are explicitly asking for "calcDistinct" the amount of RAM is fixed. What you are probably seeing use a lot of RAM is the FieldCache -- used (and shared) under the covers for lots of things like StatsComponent, sorting, faceting, etc.... in modern versions of Solr you can use DocValues instead. -Hoss http://www.lucidworks.com/