Skip to main content
Skip table of contents

How To Adjust Search Engine Service Memory Allocation

REMEMBER TO ALWAYS

  • Set the minimum and maximum to the same value

  • Only ever set it to half of the available system memory

When you are running OpenSearch as a service, and you want to change the java heap size, editing the jvm.options file in the opensearch\config\jvm.options file has no effect

The way to change it when running as a service to run the following from an administrative command prompt from the bin directory of the OpenSearch install.
opensearch-service-mgr.exe //ES//shinydocs-search-engine

(or if it is a default install, you can run "C:\Program Files\Shinydocs Professional\SearchEngine\bin\opensearch-service-mgr.exe" //ES//shinydocs-search-engine

This will pop up a window, and then you can edit the options near the bottom of the Java tab.

image-20240410-152425.png

Memory set to 4 GB (4096 MB)

image-20240410-152534.png

Memory set to 8 GB (8192 MB)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.