Let’s say a file is under the trash can and its retention period is over. Then Artifactory un-deploys (removes the reference of) the file. And it checks if there are any other referenced binaries for the same checksum. If there are no other referenced binaries, Artifactory will remove the file from the filestore when the garbage collection is run.
Or if a file is manually removed from the trash can or if the retention period is over like in the above case, the 20th cycle of garbage collection will delete all other unreferenced binaries from the filestore, performing a “full run''.
You can change the number of cycles to execute the full run by modifying the
file (default value is 20 cycles):
Artifactory restart is required to apply the above change.