ReconnectNodeRemover.setPathInformation() may cause OOM #18658
Labels
Performance
Issues related to performance concerns.
Platform Data Structures
Platform Reconnect
Platform Virtual Map
Platform
Tickets pertaining to the platform
Milestone
The following log message was observed during a failed reconnect in longevity testing:
We can infer
newFirstLeafPath
asnewLastLeafPath/2 = 380598756
, which is greater thanoldLastLeafPath
. According to the logic ofReconnectNodeRemover.setPathInformation()
, all old leaf records are added toleavesToDelete
. Their accumulation and flushing may create high pressure on heap usage/GC and cause OOM.Some provision should be made to ensure partial flushing of
leavesToDelete
if their number threatens heap exhaustion.The text was updated successfully, but these errors were encountered: