Ho w to increase Elastic allocated memory

42 views
Skip to first unread message

Operation Consultant

unread,
May 28, 2022, 8:42:40 PM5/28/22
to Wazuh mailing list
Ho w to increase Elastic allocated memory- Getting alert allocated Elastic Memory lesser 

John Adewale Olatunde

unread,
May 29, 2022, 5:14:32 AM5/29/22
to Wazuh mailing list
Hello 

You can tune these options to increase the size of memory available for Elastic in the file: /etc/elasticsearch/jvm.option . There, add the number of Gigabytes of RAM you want to allocate to Elasticsearch's heap. It is recommendable to set it to half of the available RAM with a maximum of 32GB. So for example, if you have 8GB of memory, you would allocate 4 as follows:

# Xms represents the initial size of total heap space 
# Xmx represents the maximum size of total heap space 
 -Xms4g 
-Xmx4g

For more Elasticsearch tuning, please refer to this documentation: https://documentation.wazuh.com/current/user-manual/elasticsearch/elastic-tuning.html. You will find settings that can help you fine-tune and improve the security and performance of your Elasticsearch.

Reply all
Reply to author
Forward
0 new messages