How to increase the Java heap space RAM on Ahsay's Server and Desktop software

How to modify the Java heap size setting on the Desktop version

To modify the Java heap size of the Desktop installation on Windows / macOS, amend the following files:

Windows:

c:\program files\desktopbackup\config.ini
c:\program files\desktopbackup\bin\RunCB.bat

macOS:

${Desktop-Install-Home}/config.ini
${Desktop-Install-Home}/bin/RunCB.sh

Windows: Open the ‘config.ini’ and ‘RunCB.bat’ files with a text editor:

image

image

macOS: Open the ‘config.ini’ and ‘RunCB.sh’ files with a text editor:

image

image

Note:

In the above examples, the value 2048 is the current Java heap size (in MB).

Amend the line by changing the value to 4096 (value in MB) (depending on the amount of free system memory available) so the line will appear similar to the example as follows:

Windows: Open the ‘config.ini’ and ‘RunCB.bat’ files with a text editor:

image

image

macOS: Open the ‘config.ini’ and ‘RunCB.sh’ files with a text editor:

image

image

Save the changes, then restart the scheduler service.

How to modify the Java heap size setting on the Server version

To modify the Java heap size of the Server installation on Windows, macOS, Linux or NAS, you need to amend the following files:

Windows:

c:\program files\serverbackup\config.ini
c:\program files\serverbackup\bin\RunCB.bat

macOS:

${Server-Install-Home}/config.ini
${Server-Install-Home}/bin/RunCB.sh

Linux:

${Server-Install-Home}/config.ini
${Server-Install-Home}/bin/RunCB.sh
${Server-Install-Home}/bin/RunBackupSet.sh

NAS:

${Server-Install-Home}/config.ini

Windows: Open the ‘config.ini’ and ‘RunCB.bat’ files with a text editor:

image

image

macOS: Open the ‘config.ini’ and ‘RunCB.sh’ files with a text editor:

image

image

Linux: Open the ‘config.ini’, ‘RunCB.sh’ and RunBackupSet.sh files with a text editor:

NAS: Open the ‘config.ini’ file with a text editor:

image

image

Note:

In the above examples, the value 2048 is the current Java heap size (in MB).

Amend the line by changing the value to 4096 (value in MB) (depending on the amount of free system memory available), so the line will appear similar to the example as follows:

Windows: Open the ‘config.ini’ and ‘RunCB.bat’ files with a text editor:

image

image

macOS: Open the ‘config.ini’ and ‘RunCB.sh’ files with a text editor:

image

image

Linux: Open the ‘config.ini’, ‘RunCB.sh’ and ‘RunBackupSet.sh’ files with a text editor:

NAS: Open the ‘config.ini’ file with a text editor:

image

image

Save the changes, then restart the scheduler service or reboot the device.