Changing the Java memory configuration for the Log Server service

Question

How can I change the Java memory configuration for the Log Server service?

 

Answer

  1. In the service.bat file, update the xms and xmx entries, as shown below:

    :foundJVM
    if "%ES_MIN_MEM%" == "" set ES_MIN_MEM=2g
    if "%ES_MAX_MEM%" == "" set ES_MAX_MEM=24g
  2. At a cmd prompt, navigate to the Elasticsearch installation/bin/script.bat file, and add the following commands:

    service uninstall
    service install
    service start
    service manager // this opens a GUI where you can view the new JVM entries
Version history
Revision #:
6 of 6
Last update:
‎07-27-2018 12:43 PM
Updated by: