-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Highest
-
Affects Version/s: 3.0.10, 3.1.9
-
Component/s: Installation, Upgrade, Startup, Shutdown
-
Severity 1 - Critical
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.