Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12362

Suspected memory leak in SVNClientManagerFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.2.2, 4.3.1
    • 4.2.1
    • None

    Description

      Our Bamboo instance keeps consuming more and more memory accumulated in old generation. At the end it goes into a loop of Major GC and becomes almost unresponsive. Attaching GC chart (pink represents old generation)

      We have only few builds, this is not a busy machine. Attaching GC logs. We captured heap dump but are reluctant to reveal it as it might contain some sensitive information like SVN credentials.

      However we did some analysis using JProfiler and it seems that: com.atlassian.bamboo.repository.svn.SVNClientManagerFactory.clientManagers ArrayList holds 25 thousand instances of org.tmatesoft.svn.core.wc.SVNClientManager. This collection occupies 1,2 GB in total.

      Attachments

        1. Bamboo Leak Suspects.pdf
          31 kB
        2. gc.log
          542 kB
        3. gc.png
          gc.png
          93 kB
        4. GC1.png
          GC1.png
          12 kB
        5. GC2.png
          GC2.png
          12 kB
        6. GCViewer.png
          GCViewer.png
          47 kB
        7. jprofiler.png
          jprofiler.png
          185 kB

        Issue Links

          Activity

            People

              mwent Marek Went (Inactive)
              903fbf3b703e Tomasz Nurkiewicz
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: