Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-177

CompositeCacheManager leaks memory if CacheAccess.dipose is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • jcs-2.1
    • jcs-2.2
    • Composite Cache
    • None

    Description

      In JCS 2.1, The org.apache.commons.jcs.engine.control.CompositeCacheManager holds onto a reference of CacheAccess in its caches map. If CacheAccess.dispose is called, this reference is not cleaned up which results in a memory leak.

      Attachments

        1. jcs-177.patch
          1 kB
          Ryan Fong
        2. jcs-test.zip
          54 kB
          Ryan Fong

        Activity

          People

            tv Thomas Vandahl
            rpmcfong Ryan Fong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: