Please review this for more information on heap sizes.
We have configured elasticsearch to use 50% of ram, graylog-server to use 33%, and left the remaining roughly 17% available for the operating system/other services. So far that configuration has been ok for us.
So your elasticsearch heap size is too small most likely. If the system has 12 GB RAM available I would set -Xms6g and -Xmx6g. If it’s 16 GB, I would do -Xms8g and -Xmx8g. Once you make the change, restart the elasticsearch service.
It would be nice to confirm this is the issue by reviewing the elasticsearch service log for symptoms of memory exhaustion.
thank you very much for your support and your information, it’s very kind of you, so i have to change the value , what exactly is the value I need to change ??
Review the document I linked above for more information on jvm heap sizes. My recommended configuration is not necessarily optimal for your needs, and this isn’t necessarily the solution.