Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5277

Velocity macro cache keeps growing leading to memory issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 2.4 M1
    • Fix Version/s: 2.4 M2, 2.3.2
    • Component/s: {Unused} Rendering 1.0
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      This is because velocity macros are configured to be local (not global) and are saved by Velocity in their template namespaces. The problem is that in Syntax 1.0, a page that includes other pages (standard pages or panels) will register all defined macros in its own template namespace whereas macros should be defined in the template namespace corresponding to the page where they are located.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: