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:
> 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 received this message because you are subscribed to the Google Groups
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/thinking-sphinx?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.