[Bug] fatal error: OutOfMemory encountered: Java heap space
- 主要言語
- Java
- スター
- 6.4k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 115
説明
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
1.3.4
### Describe the bug and provide the minimal reproduce step
I have a standalone configuration of IoTDB on a cloud server witrh 2GB of total memory.
I am encountering fatal error due to java heap space several times per day, where datanode seems to stop working.
I have configured MEMORY_SIZE in both confignode and datanode so both values are less than 2G (e.g. 600M and 600M) but this is not working. I am attaching the error log.
[hs_err_pid67335.log](https://github.com/user-attachments/files/20003020/hs_err_pid67335.log)
Any help appreciated.
### What did you expect to see?
Sort out this annoying fatal error which is stopping the service. This did not happen before on version 1.2.x
### What did you see instead?
The service stops, unable to push any data to database
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
コントリビューションガイド
調査の方向性
添付された hs_err_pid67335.log と、IoTDB 1.3.4 の ConfigNode および DataNode の MEMORY_SIZE 設定から着手してください。障害を報告されている 1.2.x の動作と比較し、設定された上限があるにもかかわらずサービスが Java ヒープを使い果たす理由を特定してください。原因が特定され、報告された standalone 構成で DataNode が停止しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100