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 On Mon, Mar 24, 2014 at 9:52 AM, Andrey Perminov <[email protected]>wrote: > Could you please explain why? > > > -- 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/CAKdsXoHr%2BJxgUL1%2B2i_9O_aTZ7iqfgRjqhrQyn5oDUPqE5558Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
