Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-14

Memory leak in Curator watches

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-incubating
    • TBD
    • Recipes
    • None

    Description

      The JVM runs out of memory if you repetitively create a PathChildrenCache, start it then immediately stop it. It appears that the memory is taken up by a watch that isn't ever cleaned up. Curator attempts to do some pooling of watches, but doesn't seem to use the path in the pooling.

      Attachments

        1. MemoryTest.java
          2 kB
          Brandon Beck
        2. CURATOR-14-draft-3.patch
          46 kB
          Ioannis Canellos
        3. CURATOR-14-draft-2.patch
          52 kB
          Ioannis Canellos
        4. CURATOR-14-dispatchingwatcher.patch
          21 kB
          Ioannis Canellos
        5. CURATOR-14.patch
          38 kB
          Ioannis Canellos

        Activity

          People

            iocanel Ioannis Canellos
            bbeck Brandon Beck
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: