Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Setting limits to a sane value
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Walter Lee Davis  
View profile  
 More options Sep 10 2012, 12:45 pm
From: Walter Lee Davis <wa...@wdstudio.com>
Date: Mon, 10 Sep 2012 12:45:31 -0400
Local: Mon, Sep 10 2012 12:45 pm
Subject: Setting limits to a sane value
I see this sort of thing (once per model) every time I run the index rake task. Where would I go about setting these defaults to a sane value, and where can I find documentation with what sanity would mean in that context?

indexing index 'title_core'...
WARNING: collect_hits: mem_limit=0 kb too low, increasing to 14592 kb
collected 1466 docs, 820.1 MB
WARNING: sort_hits: merge_block_size=108 kb too low, increasing mem_limit may improve performance

Thanks in advance,

Walter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pat Allan  
View profile  
 More options Sep 14 2012, 6:49 pm
From: "Pat Allan" <p...@freelancing-gods.com>
Date: Fri, 14 Sep 2012 18:48:46 -0400
Local: Fri, Sep 14 2012 6:48 pm
Subject: Re: [ts] Setting limits to a sane value
The setting you're after is mem_limit - which I think at some point had a default of 32M, but Sphinx has now decided it must be set, I guess.

You can customise it in config/sphinx.yml (which you'll need to create if you don't have it already):

  development:
    mem_limit: 64M

Set as high or low as you like... it depends on how much data you're dealing with, but maybe 128M is a good starting point? Also, keep in mind that this is just the memory limit for the indexing process, not the daemon.

--
Pat

On 10/09/2012, at 5:45 PM, Walter Lee Davis wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic