This is an automated email from the ASF dual-hosted git repository.

cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 907cb886f1 DRILL-8488: HashJoinPOP memory leak is caused by  
OutOfMemoryException (#2900)
907cb886f1 is described below

commit 907cb886f14bf3758aa753c37a46df193b20206b
Author: shfshihuafeng <shfshihuaf...@163.com>
AuthorDate: Wed May 1 22:50:44 2024 +0800

    DRILL-8488: HashJoinPOP memory leak is caused by  OutOfMemoryException 
(#2900)
---
 .../java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
 
b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
index e9214df415..9e6b33ad1e 100644
--- 
a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
+++ 
b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
@@ -133,7 +133,7 @@ public class VectorAccessibleSerializable extends 
AbstractStreamSerializable {
         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();
         }

Reply via email to