Hi Yonik,

I've tried to change de "documentCache" to 60 as you told me but the problem
persist.

If I set "hl=off" the memory never pass 65.000KB. But if I set it to "on" in
my first search, using a common word as "a", the memory increase until
763000KB. If after this I search for other common word as "web" the memory
grows up until 1200000KB..and continue increasing with new searchs.

I can't understand very well how solr uses the RAM. Should I read how Lucene
use the memory or it's not the same management.

My solr configuration is:

###########################################
<requestHandler name="standard" class="solr.DisMaxRequestHandler">
    <lst name="defaults">
            
           <str name="echoParams">explicit</str>
           <float name="tie">0.01</float>
             <str name="qf">content^0.5 title^0.7</str>
            
                <int name="rows">10</int> 
                <str name="fl">path,date,format,score,author,title</str> 

            <str name="version">2.1</str> 
                <str name="hl">off</str> 
            <str name="hl.fl">content</str> 
                <int name="hl.fragsize">50</int>
                <int name="hl.snippets">2</int>

                - <str name="hl.simple.pre"> 
                        <![CDATA[ <span class="Highlight">      ]]> 
                  </str> 
                - <str name="hl.simple.post"> 
                        <![CDATA[ </span> ]]> 
                  </str> 

        </lst>
  </requestHandler>

...

    <filterCache
      class="solr.LRUCache"
      size="1000"
      initialSize="500"
      autowarmCount="0"/>

    <queryResultCache
      class="solr.LRUCache"
      size="640"
      initialSize="320"
      autowarmCount="0"/>

    <documentCache
      class="solr.LRUCache"
      size="60"
      initialSize="60"
      autowarmCount="0"/>
###########################################

Any help will be very usefull for me.

Thanks for your attention.

-Rober
-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Yonik Seeley
Enviado el: viernes, 13 de junio de 2008 21:48
Para: solr-user@lucene.apache.org
Asunto: Re: Memory problems when highlight with not very big index

On Fri, Jun 13, 2008 at 3:30 PM, Roberto Nieto <[EMAIL PROTECTED]> wrote:
> The part that i can't understand very well is why if i desactivate
> highlighting the memory doesnt grows.
> It only uses doc cache if highlighting is used or if content retrieve is
> activated?

Perhaps you are highlighting some fields that you normally don't
return?  What is "fl" vs "hl.fl"?

-Yonik

Reply via email to