Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-2542

Perofrmance: PagePathCache is eating far too much memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • WCM 5.0 SP3
    • WCM 5.0 SP3
    • None
    • SP3 18881

    Description

      The "breadcrumb path" is cached by Jahia. I do not know how it is cached but one thing is sure: it is eating far too much memory (more than 200Mb on my 1GB VM = 20% of the heap). Moreover it does not look like being flushed by the softreference cache implementation. So perhaps it is still using some hard ref.

      My stress test was quite basic: 20 users parsing the 5'000 first pages in live mode of a 30'000 pages site. Each LDAP user logins, parses the next 25 pages and logout. After 1'000+ users (25'000 pages displayed), I am running in a OOM situation. Such a cache definitviely eats all the memory.

      So let's try to find a quick workaround for this cache for the SP3 release.

      TestRail: Results

        Attachments

          1. screenshot-1.jpg
            screenshot-1.jpg
            388 kB
          2. screenshot-2.jpg
            screenshot-2.jpg
            453 kB
          3. screenshot-3.jpg
            screenshot-3.jpg
            429 kB
          4. screenshot-4.jpg
            screenshot-4.jpg
            425 kB
          5. dump_after_OOM 350Mb Retained heap for the breadcrumb cache.jpg
            dump_after_OOM 350Mb Retained heap for the breadcrumb cache.jpg
            425 kB
          6. screenshot-5.jpg
            screenshot-5.jpg
            344 kB

          Activity

            People

              pap@commaro.com_old Benjamin Papez (Inactive)
              scroisier Stephane Croisier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      WCM 5.0 SP3