IllegalStateException: Memory leaked when closing RootAllocator
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 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 を閉じたときにどのアロケーションが残るのかを追跡します。完了の条件は、再現プログラムが "Memory was leaked by query" を報告せず、アロケーターのシャットダウン中に IllegalStateException をスローしなくなることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100