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