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

Artifactory may run into memory leaks on the connections map

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.7.0
    • Labels:
      None

      Description

      A potential memory leak was identified in 5.x version.

      The leak behavior appears to be rising slowly, but steady.

      Taking a heap dump, would reveal the issue, inspect the map in

      IdleConnectionMonitorServiceImpl

      More investigation showed that the problem is related to recent change in event based push replication behavior, specifically when a failed initialization of a replication has occured, a connection is being added to the map, but never being closed.

      Failed replication initialization will continue to try initialization every 1 minute. A simple error with the remote repo will contribute to the leak, for example: bad url or bad credentials configured on the remote repository.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              galba Gal Ben Ami
              Reporter:
              galba Gal Ben Ami
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: