AhsayCBS / AhsayOBM: 22.214.171.124 - 126.96.36.199
OS: All platforms
When performing an Office 365 Run on Server backup, the backup job and the AhsayCBS service stopped responding. The following info message is received in the backup report:
|*||info||...||Finished running pre-commands|
Sleep 20000 for next retry... (Connect to server.sharepoint.com:443 [server.sharepoint.com/xx.xx.xx.xx]
|*||info||...||Start running post-commands|
[BackupIpcThread.doRunException] error: java.lang.OutOfMemoryError: Java heap space Message:
Java heap space
The message suggests that the AhsayCBS server or AhsayOBM client application had ran out of memory during the backup process.
For Office 365 backup with OneDrive or Site Collections / Personal Site(s) selected for backup, extra memory must be allocated for the AhsayCBS server application (for Run on Server backup set) or AhsayOBM client application (for Run on Client backup set).
The memory requirement is dependent on the number of OneDrive or Site Collections / Personal Site(s) selected for backup. It is recommended to allocate 100 MB per OneDrive account, and 150 MB per Site Collections / Personal Site selected for backup.
For a Run on Server Office 365 backup set with 100 Site Collections selected for backup, 15 GB (150 MB * 100) of memory is required for the backup operation.
An additional 2 - 4 GB are recommended for the AhsayCBS server operation. Therefore, the Java heap size setting of the AhsayCBS server should be set to at least 18 GB.
For a Run on Client Office 365 backup set with 80 Personal Sites and 100 OneDrive accounts selected for backup, 22 GB ((150 MB * 80) + (100 MB * 100)) of memory is required for the backup operation.
The Java heap size setting of the AhsayOBM client should be set to 22 GB.
For instruction on how to modify the Java heap size setting for your AhsayCBS server application / AhsayOBM client application, please refer to the following articles for details:
FAQ: How to modify the Java heap size of AhsayCBS?
FAQ: How to modify the Java heap size of AhsayOBM / AhsayACB?
The Java heap size to be configured should not exceed 2/3 of RAM available, to allow sufficient resources for the operating system.
o365, cbs, heap, java, memory