On Sun, Aug 12, 2012 at 12:31 PM, Alexey Serba <ase...@gmail.com> wrote:
> > It would be vastly preferable if Solr could just exit when it gets a > memory > > error, because we have it running under daemontools, and that would cause > > an automatic restart. > -XX:OnOutOfMemoryError="<cmd args>; <cmd args>" > Run user-defined commands when an OutOfMemoryError is first thrown. > > > Does Solr require the entire index to fit in memory at all times? > No. > > But it's hard to say about your particular problem without additional > information. How often do you commit? Do you use faceting? Do you sort > by Solr fields and if yes what are those fields? And you should also > check caches. > I upgraded to solr-3.6.1 and an extra large amazon instance (15GB RAM) so we'll see if that helps. So far no out of memory errors.