apache / apache/iotdb

[Bug] Csv import meet error "There are too many timeseries in memory"

オープン
#9,356 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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.0.0

### Describe the bug and provide the minimal reproduce step

Meet this error when import data to iotdb(version: 1.0.0):
"Meet error when insert csv because 507: There are too many timeseries in memory, please increase MAX_HEAP_SIZE in datanode-env.sh/bat, restart and create timeseries again."

Are there any other options or configurations to avoid this as for now i can`t increase memory size of the server? I don't understand why there are so many timeseries in memory, as there are no queries at the moment. If these timeseries in memory are cache of imported data, when will the memory will be released?

### What did you expect to see?

-

### What did you see instead?

-

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず IoTDB 1.0.0 で CSV インポートの失敗を再現し、datanode-env.sh/bat で参照されている timeseries-memory の制限を調査します。クエリを実行していないのにインポートが制限に達する理由と、メモリが解放されるかどうかを特定します。原因と、ヒープサイズを増やせないサーバー向けのサポート対象の設定または回避策を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
database
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。