MaxPermSize probably isn't what you want, try -Xmx1G or similar.

If that doesn't work, you need to post a lot more information about
your setup, it might help to review:

http://wiki.apache.org/solr/UsingMailingLists

Best
Erick

2012/3/7 C.Yunqin <345804...@qq.com>:
> Daniel,
> thanks very much:)
>
>
> however,  i have allocated enough memory to java as follows:
> java -XX:+AggressiveHeap -XX:MaxPermSize=1024m -jar start.jar
>
>
> any other reason for that Outofmemory error ?
>
>
> ps: it is strange, though my search like "id: chenm" caused "SEVERE: 
> java.lang.OutOfMemoryError: Java heap space" ,  the solr still works ,and i 
> can continue searching other words.
>
>
>
> ----------------- 原始邮件 ------------------
> 发件人: "Daniel Brügge"<daniel.brue...@googlemail.com>;
> 发送时间: 2012年3月6日(星期二) 晚上6:35
> 收件人: "solr-user"<solr-user@lucene.apache.org>;
>
> 主题: Re: solr out of memory
>
>
> 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 <345804...@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

Reply via email to