IllegalStateException: Memory leaked when closing RootAllocator
未關閉
Type: bug
- 主要語言
- Java
- 星號
- 94
- 分支
- 152
- 平均合併
- 3 天 16 小時
- 30 天內合併 PR
- 11
描述
### 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)
貢獻指南
研究方向
首先,在連結的 liweiyuan/arrow-interop 專案中執行最小重現程式,並將其行為與 error.log 進行比較。追蹤 RootAllocator 關閉時仍然存在的 allocation;當重現程式不再回報 "Memory was leaked by query",也不再於 allocator 關閉期間拋出 IllegalStateException 時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 30/100