Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4220

Current implementation of UtilCache has a memory leak if maxInMemory is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Trunk
    • Trunk
    • framework
    • ALL

    Description

      If maxInMemory is set on caches, then current implementation will leak if many puts are done in cache.
      We made some load testing and current implementation ends very rapidly in an OutOfMemory.

      Philippe Mouawad
      http://www.ubik-ingenierie.com

      Attachments

        1. leak.png
          90 kB
          Philippe Mouawad
        2. patch-4220.patch
          1 kB
          Philippe Mouawad
        3. TestMemoryLeak.java
          3 kB
          Philippe Mouawad

        Issue Links

          Activity

            People

              erwan Erwan de Ferrieres
              p.mouawad@ubik-ingenierie.com Philippe Mouawad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: