apache / apache/arrow-java

IllegalStateException: Memory leaked when closing RootAllocator

Đang mở
#776 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Type: bug
Ngôn ngữ chính
Java
Star
94
Fork
152
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
11

Mô tả

### Describe the bug, including details regarding any error messages, version, and platform.

I am encountering an IllegalStateException with the message "Memory was leaked by query" when closing a RootAllocator. This indicates that some memory allocated from the allocator was not released before the allocator was closed.

[error.log](https://github.com/user-attachments/files/20497923/error.log)

A minimal project that reproduces this issue can be found here:
[github](https://github.com/liweiyuan/arrow-interop)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách chạy reproducer tối thiểu trong dự án liweiyuan/arrow-interop được liên kết và so sánh hành vi của nó với error.log. Truy tìm allocation nào còn tồn tại khi RootAllocator được đóng; hoàn tất khi reproducer không còn báo cáo "Memory was leaked by query" hoặc ném IllegalStateException trong quá trình tắt allocator.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.