Java Heap Space


A “Java Heap Space” error is encountered


The java process that the software runs on was not able to allocate enough memory to perform its operations. This is normally the result of:

  1. having a large number of files and/or data in the backup
  2. delta merging during a restoration


Increase the java heap space size in the client configuration.

Under Windows:

  1. ${Install-Home}\config.ini
  2. ${Install-Home}\bin\RunOBC.bat

For Mac OS X:

  1. ${Install-Home}/config.ini
  2. ${Install-Home}/bin/

Open “config.ini” and “RunOBC.bat” with a text editor and change the values in bold text.
The bolded values affect the java heap size, which determines the maximum amount of memory used.


SET JAVA_OPTS=-Xms32m -Xmx768m -Dsun.java2d.noddraw

Try increasing to 768 or higher, this will use more memory so ensure your system has enough free RAM