To increase the Nucleus Online Backup client’s java heap size the following files should be modified:

– Windows:
*${AhsayOBM-Install-Home}config.ini
*${AhsayOBM-Install-Home}binRunOBC.bat

– Linux:
*${AhsayOBM-Install-Home}/config.ini
*${AhsayOBM-Install-Home}/bin/RunBackupSet.sh

On a Windows machine this location usually corresponds with C:Program FilesNucleus Online Backup. On a linux machine it’s usually /usr/local/obm.
Ofcourse this location can differ between different versions of the same operating system. Please contact Nucleus support if you encounter trouble determining these locations.

1. Open config.ini, RunOBC.bat of RunBackupSet.sh with a text editor of your choice(notepad, nano, vim etc.), what you get to see hereafter should be similar to the following:

config.ini (updated):
app.system.ui.vm.opt.xmx=768
app.system.ui.vm.opt.xms=32
app.system.common.format.datetime.hourinday=true

RunOBC.bat (updated):

SET JAVA_HOME=%OBC_HOME%jvm
SET JAVA_EXE=%JAVA_HOME%binjava.exe
SET JAVA_OPTS=-Xms32m -Xmx768m -Dsun.java2d.noddraw

RunBackupSet.sh (updated):

LIB_HOME=./bin
JAVA_OPTS=”-Xmx768m -Djava.library.path=$APP_HOME/bin”
CLASSPATH=$LIB_HOME:$LIB_HOME/obm.jar:$LIB_HOME/obm-lib.jar
MAIN_CLASS=RunBackupSet

The value 384, 512 and 256 is the current Java heap size which defaults to these values.
Please amend the line by changing the default value to “768”(or 1024 depending on the amount of free system memory available). The result should be similar to the following:

config.ini (updated):
app.system.ui.vm.opt.xmx=768
app.system.ui.vm.opt.xms=32
app.system.common.format.datetime.hourinday=true

RunOBC.bat (updated):

SET JAVA_HOME=%OBC_HOME%jvm
SET JAVA_EXE=%JAVA_HOME%binjava.exe
SET JAVA_OPTS=-Xms32m -Xmx768m -Dsun.java2d.noddraw

RunBackupSet.sh (updated):

LIB_HOME=./bin
JAVA_OPTS=”-Xmx768m -Djava.library.path=$APP_HOME/bin”
CLASSPATH=$LIB_HOME:$LIB_HOME/obm.jar:$LIB_HOME/obm-lib.jar
MAIN_CLASS=RunBackupSet

De waarden 384, 512 en 256 zijn de huidige “java heap size” waarden. Dit zijn tevens de standaard waarden.
Hier kan je de waarde aanpassen naar 768 (of 1024 als de machine nog voldoende werkgeheugen ter beschikking heeft). Concreet zouden de files er na de aanpassing als volgt moeten uitzien:

config.ini (updated):
app.system.ui.vm.opt.xmx=768
app.system.ui.vm.opt.xms=32
app.system.common.format.datetime.hourinday=true

RunOBC.bat (updated):

SET JAVA_HOME=%OBC_HOME%jvm
SET JAVA_EXE=%JAVA_HOME%binjava.exe
SET JAVA_OPTS=-Xms32m -Xmx768m -Dsun.java2d.noddraw

RunBackupSet.sh (updated):

LIB_HOME=./bin
JAVA_OPTS=”-Xmx768m -Djava.library.path=$APP_HOME/bin”
CLASSPATH=$LIB_HOME:$LIB_HOME/obm.jar:$LIB_HOME/obm-lib.jar
MAIN_CLASS=RunBackupSet

For these changes to take effect the online backup scheduler should be restarted. On a Windows machine one can do this the following way: “Start > Run > enter “services.msc” and press Enter.
This interface shows you alle services available on the system and allows you to stop, start and restart them. In this case the service we are looking for is called “Nucleus Online Backup Scheduler”
On a linux machine however the scheduler should be restarted in the following way:

$/etc/init.d/obmscheduler stop
$/etc/init.d/obmscheduler start

Kunnen we je nog ergens anders mee helpen?

Bel of mail ons. We helpen je snel met een antwoord.

Contacteer ons