===== [V8] FAQ: How to modify the Java heap size setting for Run on Server Office / Microsoft 365 backup job? ===== Article ID: 8096
Reviewed: 2020-11-24

Product Version:
AhsayCBS: 8.3.4.0 to 8.x
OS: All platforms ===== Description ===== This article outlines the steps to modify the Java heap size setting for run on server Office / Microsoft 365 backup job. ===== Steps ===== Since AhsayCBS version 8.3.4.x, the Java heap size setting for run on server Office / Microsoft 365 backup job have been separated from the main Java heap size setting (e.g. the entire AhsayCBS process).

To modify the Java heap size setting for run on server O365 / M365 backup job, refer to the following steps:
  1. Open the %CBS_Install_Home%\conf\cbs.opt file with a text editor.

  2. Add the following entries to the end of the cbs.opt file (if you cannot find them) or find and modify the values:

    cbs.opt

        ...
        ...
    com.ahsay.obs.core.job.ServerRunBackup.Xmx=2048
    com.ahsay.obs.core.job.ServerRunBackup.Xms=256

    Note: Xmx to specify the maximum heap size, while Xms to specify the initial heap size.

  3. Save and restart the AhsayCBS service.
  4. ===== Keywords ===== obc, obm, cbs, o365, microsoft365, 365, office, m365