Ok, thanks, I'll try to set heap to 3,5 GB. But it is java process who eats 
whole memory, up to 96% percents. Anyway, i'll try and write back if it 
helps.
Do you know why index might become corrupted on both master and replica?

понедельник, 24 марта 2014 г., 13:00:34 UTC+4 пользователь Jörg Prante 
написал:
>
> If you set the heap to 6 GB and your RAM 7GB, the whole Java process needs 
> 6GB + ~2GB = 8GB. You understand this will exceed your main memory.
>
> 50% a good rule of thumb for RAM around 4GB-16GB, because the ES process 
> is using a lot of filesystem buffers of OS. The OS relies on filesystem 
> buffers for faster I/O. If you have 7 GB, the rule of thumb calculation is: 
> 3,5 GB for the ES heap, 2 GB for ES process buffers and internals, 1GB for 
> the OS kernel, and 1 GB for file system buffers. In this scenario, the OS 
> can work with best performance possible.
>
> Jörg
>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8bfa780e-a612-4c24-961c-35ee8ba5aa20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to