Section 1 - Help Centre

This section provides useful help and tips over and above the formal support manual sections 2 through 18.




1.3 How do I modify the Java heap size of OBM or ACB?


  1. Product Version: OBM/ACB: Pre 7.x.x.

  2. Operating Systems: Windows/Mac OSX

  3. Description: How do I modify the Java heap size of the OBM & ACB?






Instruction for OBM

Back to top

    To modify the Java heap size of OBM, you need to amend the following files:



  1. Please open "config.ini", "RunOBC.bat" or "RunOBC.sh" with a text editor and you should see entries as shown below:

  2. config.ini:

    app.system.ui.vm.opt.xms=128
    app.system.ui.vm.opt.xmx=768
    app.system.conf.language


    RunOBC.bat:

    ...
    SET JAVA_HOME=%APP_HOME%\jvm
    SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
    SET JAVA_OPTS=-Xms128m -Xmx768m -Dsun.java2d.noddraw
    ...


    RunOBC.sh:

    ...
    JAVA_OPTS="-Xrs -Xms128m -Xmx768m"
    CLASSPATH="$LIB_HOME:$LIB_HOME/obc.jar:$LIB_HOME/obc-lib.jar"
    MAIN_CLASS=auac
    ...


  3. The value 768 is the current Java heap size which by default is 768MB

  4. Please amend the line by changing the default value to "1200", (or 1500 depending on the amount of free system memory available) so the line will appear similar to the example as follows:

  5. config.ini (updated):

    app.system.ui.vm.opt.xms=128
    app.system.ui.vm.opt.xmx=1200
    app.system.conf.language


    RunOBC.bat (updated):

    ...
    SET JAVA_HOME=%APP_HOME%\jvm
    SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
    SET JAVA_OPTS=-Xms128m -Xmx1200m -Dsun.java2d.noddraw
    ...


    RunOBC.sh (updated):

    ...
    LIB_HOME=./bin
    JAVA_OPTS="-Xrs -Xms128m -Xmx1200m"
    CLASSPATH="$LIB_HOME:$LIB_HOME/obc.jar:$LIB_HOME/obc-lib.jar"
    MAIN_CLASS=auac


  6. Once done, please restart the OBM scheduler service




Instruction for ACB

Back to top

    To modify the Java heap size of ACB, you need to amend the following files:



  1. Please open "config.ini" and "RunOBC.bat" with a text editor and you should see entries as shown below:

  2. config.ini:

    app.system.ui.vm.opt.xms=128
    app.system.ui.vm.opt.xmx=768
    app.system.conf.language


    RunOBC.bat:

    ...
    SET JAVA_HOME=%APP_HOME%\jvm
    SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
    SET JAVA_OPTS=-Xms128m -Xmx768m -Dsun.java2d.noddraw
    ...


    RunOBC.sh:

    ...
    JAVA_OPTS="-Xrs -Xms128m -Xmx768m"
    CLASSPATH="$LIB_HOME:$LIB_HOME/obc.jar:$LIB_HOME/obc-lib.jar"
    MAIN_CLASS=auac
    ...


  3. The value 128 and 768 is the current Java heap size which by default is 128MB and 768MB

  4. Please amend the line by changing the default value to "1200", (or 1500 depending on the amount of free system memory available) so the line will appear similar to the example as follows:


  5. config.ini:

    app.system.ui.vm.opt.xms=128
    app.system.ui.vm.opt.xmx=1200
    app.system.conf.language


    RunOBC.bat:

    ...
    SET JAVA_HOME=%OBC_HOME%\jvm
    SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
    SET JAVA_OPTS=-Xms128m -Xmx1200m -Dsun.java2d.noddraw
    ...


    RunOBC.sh (updated):

    ...
    LIB_HOME=./bin
    JAVA_OPTS="-Xrs -Xms128m -Xmx1200m"
    CLASSPATH="$LIB_HOME:$LIB_HOME/obc.jar:$LIB_HOME/obc-lib.jar"
    MAIN_CLASS=auac


  6. Once done, please restart the ACB scheduler service



Back to top