Startpagina > Scheduled backups (Scheduler, Reminder, Missed) > How do I modify the Java heap size of the software?

How do I modify the Java heap size of the software?

OS

Alle platforms

Software

10.1 and higher

Error Message

  • java.lang.OutOfMemoryError: Java heap space
  • Error occurred during initialization of VM
  • Could not reserve enough space for 2097152KB object heap

Cause

The software has reached the maximum amount of RAM allowed, resulting in the above error.

Solution

! Installing a new client will revert these changes.
To change the Java heap size of the installation on Windows, Mac OS X, Linux or NAS, you need to modify the following files:

For Windows / Linux / Mac OS X:
  • ${Install-Home}\config.ini
  • ${Install-Home}\bin\cb.ini
For NAS
  • ${Install-Home}/config.ini
Open the 'config.ini' and 'cb.ini' files with a text editor and change the Xmx value:
config.ini:
app.system.ui.vm.opt.xms=128
app.system.ui.vm.opt.xmx=2048
app.system.conf.language=en
 
cbs.ini
-Xrs
-Xms128m
-Xmx2048m
-XX:MaxDirectMemorySize=512m

(For NAS) Open the 'config.ini' file with a text editor and change the Xmx value:
config.ini:
app.system.ui.vm.opt.xms=128
app.system.ui.vm.opt.xmx=2048
app.system.conf.language
Note: The value 2048 in the above examples is the current Java heap size (in MB).
Change the value to e.g. "4096" or "1024" (value in MB) (depending on the amount of free system memory available)

Important: Save the changes and then restart the scheduler service.
BENELUX GERMANY AUSTRIA / SWITZERLAND
+31 (0) 570 56 23 43 +49 (0) 800 12 22 587 +31 (0) 570 71 43 06
info@mindtimebackup.nl info@mindtimebackup.de info@mindtimebackup.de