lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Use of multiple tomcat instance and shards.
Date Tue, 08 Mar 2011 13:37:23 GMT
Have you looked at your cache usage statistics from the admin page? That should
give you some sense of whether your caches are experiencing evictions, which
would also lead to excessive garbage collections. That should give you some
additional information to work with.

Also, what version of Solr are you using? 1.4.1?

Best
Erick

On Tue, Mar 8, 2011 at 7:52 AM, rajini maski <rajinimaski@gmail.com> wrote:
> I have considered the RAM usage points of solr_wiki and yes,I have many
> facet queries fired every time and might be this is one of the reason .. I
> did give the Xmx-1024m and the error occurred but it was 2-3 times after
> many search queries fired.. But then the system slows  down . So I needed
> any alternative.
> *
> *
> Tommaso, Please can you share any link that explains me about how to enable
> and do load balancing on the machines that you did mention above..?
>
>
>
>
>
> On Tue, Mar 8, 2011 at 4:11 PM, Jan Høydahl <jan.asf@cominvent.com> wrote:
>
>> Having 2Gb physical memory on the box I would allocate -Xmx1024m to Java as
>> a starting point.
>>
>> The other thing you could do is try to trim your config to use less memory.
>> Are you using many facets? String sorts? Wildcards? Fuzzy? Storing or
>> returning more fields than needed?
>>
>> http://wiki.apache.org/solr/SolrPerformanceFactors#RAM_Usage_Considerations
>>
>> --
>> Jan Høydahl, search solution architect
>> Cominvent AS - www.cominvent.com
>>
>> On 8. mars 2011, at 07.40, rajini maski wrote:
>>
>> >          In order to increase the Java heap memory, I have only 2gb ram…
>> so
>> > my default memory configuration is --JvmMs 128 --JvmMx 512  . I have the
>> > single solr data index upto 6gb. Now if I am trying to fire a search very
>> > often on this data index, after sometime I find an error as java heap
>> space
>> > out of memory error and search does not return results. What are the
>> > possibilities to fix this error? (I cannot increase heap memory) How
>> about
>> > having another tomcat instance running (how this works? )or is it by
>> > configuring shards? What is that might help me fix this search fail?
>> >
>> >
>> > Rajani
>>
>>
>

Mime
View raw message