Increase memory limit in enterprise search on ubuntu 22.10

Hello,
I did setup enterprise-search on ubuntu 22.10. I have created 15 engines in app search web crawler and each engine have 20 websites. When I start all engine at a time, enterprise search does not load in kibana. We have system with 256gb ram so it should not happen. I think it is still using 4gb default ram so how can I increase ram size of enterprise-search.

Elasticsearch - 8.8
Kibana - 8.8
Enterprise-search - 8.8

Hi Bhavesh, is your deployment on Elastic Cloud? If so, how much RAM have you assigned to your Enterprise Search instance? If you go to your cloud deployments page and do the following, you can increase the RAM allocated to Enterprise Search:

  1. Find your deployment and click 'Manage'
  2. At the top-right, click on 'Actions' > 'Edit deployment'
  3. Scroll down to Enterprise Search (should be at the bottom)
  4. Change the settings for 'Size per zone' or 'Available zones' until you have your desired RAM total
  5. Click 'Save' and wait for Enterprise Search to finish restarting

Hii @nfeekery ,
Thanks for replying.
No my deployment is not on elastic cloud. I have deployed on ubuntu 22.10 local server. It has enterprise-search.yml file but I am not be able to find any memory related setting in it.
Currently it is using default 4gb memory So is there any way I can increase this memory?

Hi @bhavesh !

Enterprise Search uses the Java Virtual Machine for running. Please check that the JAVA_OPTS environment variable includes the -Xmx option for setting up the maximum available memory for the Java Virtual Machine. For example:

export JAVA_OPTS=-Xmx128g

will use 128GB as your maximum JVM heap memory size.

Hope this helps!

Hello @Carlos_D,
It worked!
Thank you so much for helping :smile:

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