Affects Version/s: 7.21.3
Fix Version/s: 7.31.10
Description: The Full GC is not running properly. The properties are set in the Artifactory to run the GC every 12 hours and Full GC to run on every 20 iterations. With this configuration, the Full GC should run every 10th day. However, it is running sometimes on the 15th day, sometimes on the 19th day, and sometimes on the 13th day.
Steps to reproduce:
- Configure the properties to run the GC every 12 hours and Full GC to run on every 20 iterations.
- Restart Artifactory on the 3rd day.
- The counter will be reset to 0.
- The Full GC will run on the 13th day if no more restart has happened in between.
The counter should not be reset to 0, even though there are restarts. Issue observed in the latest version as well.
As the storage is not being cleared on time due to the Full GC running late, the customer is being charged extra for a specific month for the storage.