Steps to reproduce:
1. Connect Artifactory to bullfrog or any other Java APM
2. Create local, remote and virtual repositories of Rubygem in Artifactory
3. Run index calculation on the virtual repo:
4. See that memory starts to rise and even after the calculation finishes (±4 minutes) it stays around the same value
Note: based on the system property:
Artifactory runs the calculation every 5 minutes, which makes it worse.
After some time (can be minutes or days, depends on Rubygem usage in Artifactory) Artifactory will crash with OOM error.