Java Heap Space

Error:

Java Heap Space

Cause:

The java process that the software runs on was not able to allocate enough memory to perform it’s operations. This is normally the result of having a huge number of files and/or data in the backup.

Resolution:

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/RunOBC.sh

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.

[config.ini]
app.system.ui.vm.opt.xmx=384

Increasing 384 to 768 should be enough for larger installations

[RunOBC.bat
SET JAVA_OPTS=-Xms32m -Xmx512m -Dsun.java2d.noddraw

Try increasing 512 to 768, very large installations may require higher values