These are some examples for better appreciation with formula for calculating the required memory:
Backup set with 20 SharePoint Sites and 50 OneDrive Accounts
Total = 3000 MB / 3 GB + 5000 MB / 5 GB = 8000 MB / 8 GB
In this example, we first computed for the memory needed for the SharePoint Sites and OneDrive Accounts which are 3000 MB / 3 GB and 5000 MB / 5 GB respectively. Then we added those two and came up with 8000 MB / 8 GB. This is the total Java heap size setting of the AhsayOBM client should set.
Backup set with 80 Site Collections and 100 OneDrive Accounts
Total = 12000 MB / 12 GB + 10000 MB / 10 GB = 22000 MB / 22 GB
In this example, we first computed for the memory needed for the Site Collections and OneDrive Accounts which are 12000 MB / 12 GB and 10000 MB / 10 GB respectively. Then we added those two and came up with 22000 MB / 22 GB. This is the total Java heap size setting of the AhsayOBM client should set.