OS
Alle platformsSoftware
10.1 and higherError 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
- ${Install-Home}/config.ini
| 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 |
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.