Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-4712

TimedPromiseExecutionRegistry causes OOM

    XMLWordPrintable

Details

    Description

      The ArrayList can be made to grow to a huge size, but due to the nature of an ArrayList, calling remove does not actually shrink the underlying Object[], so the memory footprint remains huge, which can lead to OOM.

      Need to call trimToSize on the ArrayList, when removing timed promises from the list.

      Attachments

        Issue Links

          Activity

            People

              mmcmahon Matthew McMahon (Inactive)
              astephen@atlassian.com Adrian Stephen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync