When Artifactory contains a large number of artifacts (the size does not affect) and then activating the Prune process this can cause out of memory exception.
Steps to reproduce:
- Set up Artifactory with recommended java parameters.
- fill Instance with artifacts that have different SH1.
- Activate Prune process Admin tab->maintenence->Prune process
After some time Artifactory will be down with OutOfMemoryException
It is possible to reproduce when increasing the JVM parameter but also the number of artifacts.