How to set the heap-size reasonably

Hi everyone, I'm new for elasticsearch and I know that the ES Heap-size is usually 50% of my physical RAM and cannot exceed 32GB.

My 1st question is, if my physical RAM has only 32GB, and there are other programs running on the server besides ES, how can I properly set the heap-size(Is it still set to 50% of 32GB)?

My 2nd question is that lucene will use off-heap, so whether the appropriate reduction of heap-size will improve the query speed of ES (because lucene can use more memory).

My 3rd question is, what does heap-size and off-size do for ES?Is heap-size more responsible for index and off-size more responsible for query?

Best Regards!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.