> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 22, 2007 12:31 PM > > Hi, > > I am running Solr within the Jetty using start.jar. I am > indexing about 200,000 documents. Sometimes out of the blue, > the Solr instance cannot process any more requests and > returns "heap out of memory" error. > > This happens more often when I issue queries against the > index that is being updated. > > Is there some configuration setting I need to change? > > Also, the server itself has plenty of RAM even when this > error appears. So it appears Java is running out of its heap > memory while there is still enough of RAM available for other > processes. > > Thanks, > Av
This seems like the java heap size is set too low. Wherever you start the JVM, you can pass in -Xmx512m -Xms256m. Adjusting the values as necessary.