Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-19099

Artifactory does not free up memory after some Rubygems actions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 3 - High
    • Resolution: Unresolved
    • Affects Version/s: 6.9.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Severity:
      High
    • Regression:
      Yes

      Description

      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:

      curl -XPOST -uadmin:password "http://localhost:8081/artifactory/api/gems/gems/reindex"
      

      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.gems.virtualIndexTaskIntervalSecs=300 (default)
      

      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.

      Added newer screenshot:

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              avivb Aviv Blonder
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-19099 -
                  SYNCHRONIZED
                  • Last Sync Date: