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.

          Form Name

            [JSDSERVER-4712] TimedPromiseExecutionRegistry causes OOM

            No work has yet been logged on this issue.

              mmcmahon Matthew McMahon (Inactive)
              astephen@atlassian.com Adrian Stephen
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: