« Return to Thread: out of heap space, every day

Re: out of heap space, every day

by Mike Klaas :: Rate this Message:

Reply to Author | View in Thread

On 4-Dec-07, at 8:10 AM, Brian Carmalt wrote:

> Hello,
>
> I am also fighting with heap exhaustion, however during the  
> indexing step. I was able to minimize, but not fix the problem
> by setting the thread stack size to 64k with "-Xss64k". The minimum  
> size is os specific, but the VM will tell
> you if you set the size too small. You can try it, it may help

This seems surprising unless you are positively hammering Solr with  
tons of different threads during indexing.  It's probably not worth  
using more than # processors + a few.

-Mike

 « Return to Thread: out of heap space, every day