You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "C.Yunqin" <34...@qq.com> on 2012/03/06 10:01:07 UTC

solr out of memory

sometimes when i search  a simple  word ,like "id: chenm" 
the solr report eror:
SEVERE: java.lang.OutOfMemoryError: Java heap space


i do not know why?
sometime the query goes on well.
anyone have an ideal of that?


thanks a lot

Re: solr out of memory

Posted by Daniel Brügge <da...@googlemail.com>.
Maybe the index is to big and you need to add more memory to the JVM via
the -Xmx parameter. See also
http://wiki.apache.org/solr/SolrPerformanceFactors#OutOfMemoryErrors

Daniel

On Tue, Mar 6, 2012 at 10:01 AM, C.Yunqin <34...@qq.com> wrote:

> sometimes when i search  a simple  word ,like "id: chenm"
> the solr report eror:
> SEVERE: java.lang.OutOfMemoryError: Java heap space
>
>
> i do not know why?
> sometime the query goes on well.
> anyone have an ideal of that?
>
>
> thanks a lot