Skip to content

Commit

Permalink
DRILL-8488: HashJoinPOP memory leak is caused by OutOfMemoryException (
Browse files Browse the repository at this point in the history
  • Loading branch information
shfshihuafeng authored May 1, 2024
1 parent 6d94399 commit 907cb88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private void readVectors(InputStream input, RecordBatchDef batchDef) throws IOEx
vector.load(metaData, buf);
buf.release(); // Vector now owns the buffer
vectorList.add(vector);
} catch (OutOfMemoryError oom) {
} catch (OutOfMemoryException oom) {
for (ValueVector valueVector : vectorList) {
valueVector.clear();
}
Expand Down

0 comments on commit 907cb88

Please sign in to comment.