Skip to main content

How to modify the Java heap size setting for Run on Server Microsoft 365 backup job?

Article ID
5007
Last Reviewed Date
Product Version
AhsayCBS: 8.3.4 or above
Operating System
All Platforms
Description

This Know-How article outlines the steps to modify the Java heap size setting for Run on Server Microsoft 365 backup job.

Solution

Since AhsayCBS version 8.3.4.x, the Java heap size setting for Run on Server 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 Microsoft 365 backup job, refer to the following steps:

  1. Open the %AhsayCBS_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.

    ...
    com.ahsay.obs.core.job.ServerRunBackup.Xmx=2048
    com.ahsay.obs.core.job.ServerRunBackup.Xms=256
    
    Xmx to specify the maximum heap size, while Xms to specify the initial heap size.
  3. Save and restart the AhsayCBS service.