Home > Troubleshooting > SAFE Backup > java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

If you receive this error within the backup report

java.lang.OutOfMemoryError: Java heap space

You will need to increase the java heap space the software uses.

Navigate to the program folder: C:\Program Files\SDSLBusinessCloudBackup

Within this folder you will see this file: config.ini

It will display this:

app.system.ui.vm.opt.xms=128
app.system.ui.vm.opt.xmx=2048
app.system.conf.vm.opt.maxdirectmemorysize=1024
app.system.conf.language=en
app.system.product.name=obm
app.system.common.format.datetime.hourinday=true

So to increase the Java heap please change these values:

app.system.ui.vm.opt.xmx=4096

This will depend on the memory the Windows machine has available. 

Save the changes & restart the backup scheduler service.