Is anyone familiar with the environment variable, JAVA_OPTS? I set
mine to a much larger heap size and never had any of these issues
again.

JAVA_OPTS = -server -Xms4048m -Xmx4048m

Adam

On Wed, Jan 19, 2011 at 3:29 AM, Isan Fulia <isan.fu...@germinait.com> wrote:
> Hi all,
> By adding more servers do u mean sharding of index.And after sharding , how
> my query performance will be affected .
> Will the query execution time increase.
>
> Thanks,
> Isan Fulia.
>
> On 19 January 2011 12:52, Grijesh <pintu.grij...@gmail.com> wrote:
>
>>
>> Hi Isan,
>>
>> It seems your index size 25GB si much more compared to you have total Ram
>> size is 4GB.
>> You have to do 2 things to avoid Out Of Memory Problem.
>> 1-Buy more Ram ,add at least 12 GB of more ram.
>> 2-Increase the Memory allocated to solr by setting XMX values.at least 12
>> GB
>> allocate to solr.
>>
>> But if your all index will fit into the Cache memory it will give you the
>> better result.
>>
>> Also add more servers to load balance as your QPS is high.
>> Your 7 Laks data makes 25 GB of index its looking quite high.Try to lower
>> the index size
>> What are you indexing in your 25GB of index?
>>
>> -----
>> Thanx:
>> Grijesh
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Solr-Out-of-Memory-Error-tp2280037p2285779.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>
>
> --
> Thanks & Regards,
> Isan Fulia.
>

Reply via email to