Analytics Plugin high memory consumption can cause OOMEs

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 9.5.0
    • Affects Version/s: 8.13.4
    • None
    • 8.13
    • 3
    • Severity 2 - Major
    • 0
    • Hide
      Atlassian Update – 25 November 2021

      Hi everyone,

      We acknowledge in specific conditions the issue may have an impact on the instance performance - therefore we plan to address the issue in a short term.

      Ignat Alexeyenko,
      Snr Team Lead
      Atlassian.

      Show
      Atlassian Update – 25 November 2021 Hi everyone, We acknowledge in specific conditions the issue may have an impact on the instance performance - therefore we plan to address the issue in a short term. Ignat Alexeyenko, Snr Team Lead Atlassian.

      Problem

      OutOfMemoryErrors when starting the Jira instance.

      ThreadPoolAsyncTaskExecutor::Thread 13 consumes a Retained Heap of 6,422,859,280.

      The java.io.UnixFileSystem holds 30,830,856 entries of java.lang.String values from uk.org.simonsite.log4j.appender called by the com.atlassian.analytics.client.logger.Log4jAnalyticsLogger

      Environment

      Jira 8.13.4

      Steps to Reproduce

      Unknown

      Expected Results

      Analytics plugin memory consumption does not grow to disproportionate amounts.

      Actual Results

      Analytics plugin consumes >6GB of retained heap space.

      Workaround

      Disable the analytics plugin.

        1. analytics modules.png
          analytics modules.png
          285 kB
        2. cdn modules.png
          cdn modules.png
          197 kB
        3. heap2.png
          heap2.png
          150 kB
        4. image-2021-12-06-16-09-31-529.png
          image-2021-12-06-16-09-31-529.png
          285 kB

            Assignee:
            Unassigned
            Reporter:
            Michael Perez
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: