[HUDI-1358] Fix leaks in DiskBasedMap and LazyFileIterable (#2249)
This commit is contained in:
committed by
GitHub
parent
751e4ee882
commit
0ebef1c0a0
@@ -273,7 +273,8 @@ public class HoodieMergeHandle<T extends HoodieRecordPayload, I, K, O> extends H
|
||||
insertRecordsWritten++;
|
||||
}
|
||||
}
|
||||
keyToNewRecords.clear();
|
||||
|
||||
((ExternalSpillableMap) keyToNewRecords).close();
|
||||
writtenRecordKeys.clear();
|
||||
|
||||
if (fileWriter != null) {
|
||||
|
||||
Reference in New Issue
Block a user