1. Knowledge Base
  2. Setting Up
  3. Installation and Preparation

How to run the software as windows service?

Short guide for installation as windows service

Install the software as a Windows Service. You need admin privileges in Windows to do so.

 

Adjusting memory (RAM) allocation

First, adjust the memory allocation of the service. Open the /bin subfolder in your installation directory. Right-click on the 'service.bat' file and select 'Edit'. Scroll down to line 117 at the end of the file. You have to replace the parameter -Xmx265m with -Xmx16g to allocate 16 GB RAM. This number depends on your hardware setup. We recommend allocating 60-80% of available RAM. E.g. use -Xmx50g on 64 GB RAM machine, -Xmx25g for 32 GB RAM machine and so on.

WindowsServiceRAM-1

Register the service

After adjusting the RAM, you can run the RegisterAsWindowsService.bat file by double-click. You have now registered the software as a Windows Service. You may have to run RemoveWindowsService.bat before to de-register an older service.

RegisterWindowsService

 

After that, open the Task Manager (Ctrl + Shift + Esc). Select the Services tab and look for the newly registered service, right-click it and start the service.

WindowsService

 

Well done. After the startup of the service, you can access the start page as usual.