Re: Running out of memory

2012-08-16 Thread Amit Nithian
I am debugging an out of memory error myself and a few suggestions: 1) Are you looking at your search logs around the time of the memory error? In my case, I found a few bad queries requesting a ton of rows (basically the whole index's worth which I think is an error somewhere in our app just have

Re: Running out of memory

2012-08-13 Thread Jon Drukman
On Sun, Aug 12, 2012 at 12:31 PM, Alexey Serba 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="; " > Run user-defined commands

Re: Running out of memory

2012-08-12 Thread Alexey Serba
> 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="; " Run user-defined commands when an OutOfMemoryError is first thrown. > Does Solr require the

Re: Running out of memory

2012-08-06 Thread Michael Della Bitta
You might want to look at turning down or eliminating your caches if you're running out of RAM. Possibly some of them have a low hit rate, which you can see on the Stats page. Caches with a low hit rate are only consuming RAM and CPU cycles. Also, using this JVM arg might reduce the memory footpri