Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-24609

webwork Query cache is unbounded - and its putting in unbounded string

    XMLWordPrintable

Details

    Description

      The webwork Query class has a cache of previously parsed (but not executed) EL strings.

      Anything that is thrown at Webwork is cached forever statically. A memory dump reveals strings like

      "com.atlassian.jira.web.action.ViewIssue@2345", "com.atlassian.jira.web.action.ViewIssue@63434", "com.atlassian.jira.web.action.ViewIssue@7373434"

      These will never be re-used and the dump I saw had 145MB of these guys for JAC.

      I think this cache can be killed. Its the "parse" of the EL string into Object "segment" representation.

      My gut feel is that computationally it small yet memory wise it has a large and growing impact.

      We should kill the cache or limit its size somehow.

      SimpleText in webwork does the same thig but not as bad.

      Attachments

        Activity

          People

            rsmart metapoint
            bbaker ɹǝʞɐq pɐɹq
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: