Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Unknown Unknown
    • Resolution: Not a Bug
    • Affects Version/s: 3.7.0 GA (3.7.0 GA Platform Release)
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Production envirronment, using engine in tomcat
    • QA Validation Status:
      Not Yet Validated

      Description

      The engine, at class net.sf.ehcache.Cache gives outofmemory error. The GC won't work, it will eat up all memory the only one instance

      One instance of "net.sf.ehcache.Cache" loaded by "org.apache.catalina.loader.WebappClassLoader @ 0x43ee0ae0" occupies 115.801.400 (46,64%) bytes. The memory is accumulated in one instance of "net.sf.ehcache.store.chm.ConcurrentHashMap$Segment[]" loaded by "org.apache.catalina.loader.WebappClassLoader @ 0x43ee0ae0".
      1. screenshot-1.jpg
        250 kB
      2. screenshot-2.jpg
        218 kB

        Activity

        Hide
        Thomas Morgner added a comment -
        A cache is a data-structure that is supposed to hold data over a long time. Did you actually configure your EHCache instance? The reporting engine itself does not ship with a EHCache configuration - it is up to you to provide a sensible config that matches both your use cases and your server's horse power / memory.
        Show
        Thomas Morgner added a comment - A cache is a data-structure that is supposed to hold data over a long time. Did you actually configure your EHCache instance? The reporting engine itself does not ship with a EHCache configuration - it is up to you to provide a sensible config that matches both your use cases and your server's horse power / memory.
        Hide
        david lopez added a comment -
        It seems that there is a know issue with tomcar, ehcahce and the class loader , on re-deploy.

        Even with fail-safe configuration ehcache seems to have a memory leak

        Class-Loader Memory Leak

        In development, there appear to be class loader memory leak as I continually redeploy my web application. There are lots of causes of memory leaks on redeploy. Moving Ehcache out of the WAR and into $TOMCAT/common/lib fixes this leak.

        http://ehcache.org/documentation/user-guide/tomcat

        I will follow instuctions ant let you know if the problem goes away,

        thanks for the help
        Show
        david lopez added a comment - It seems that there is a know issue with tomcar, ehcahce and the class loader , on re-deploy. Even with fail-safe configuration ehcache seems to have a memory leak Class-Loader Memory Leak In development, there appear to be class loader memory leak as I continually redeploy my web application. There are lots of causes of memory leaks on redeploy. Moving Ehcache out of the WAR and into $TOMCAT/common/lib fixes this leak. http://ehcache.org/documentation/user-guide/tomcat I will follow instuctions ant let you know if the problem goes away, thanks for the help
        Hide
        mandan added a comment -
        @david: Was the issue resolved ?
        Show
        mandan added a comment - @david: Was the issue resolved ?

          People

          • Assignee:
            Kurtis Cruzada
            Reporter:
            david lopez
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: