You may estimate the size of the disk for this by running the curl command below after specifying the variables.
curl -L -u$ADMIN_USER "https://$targetArtifactoryUrl/artifactory/api/storage/$TARGET_REPO?list&deep=1&listFolders=1&mdTimestamps=1&statsTimestamps=1&includeRootPath=1" -o output.json
About 10 percent (or less) of the size of the output.json is what you can expect to take the temporary disk space, in addition to what the other concurrent Cron based replication may create at the same time. Also, you can expect increased memory utilization for up to the size of the output.json file as it is temporarily stored in memory before it is saved compressed in the disk. It is advisable to separate different replications timing not to run simultaneously. In order to get the most accurate estimation, choose the repository with the largest number of artifacts and folders.
Based on the size of the total output, you may customize the size of how much space Artifactory will use for the replication by setting the following parameters in artifactory.system.properties with the desired size. # Default is 100000000
artifactory.replication.push.fullTree.saveLocally.free.disk.threshold.bytes=100000000
Also, you may disable this to go back to behavior of replicating while streaming the file-list by setting the following flag to false (default: true)
artifactory.replication.push.fullTree.saveLocally=true
Please use the following article for troubleshooting: