iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

分组查询时,时间跨度过大会导致服务器崩溃

Open 18816837260 opened this issue 1 year ago • 1 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Version

1.2.2

Describe the bug and provide the minimal reproduce step

分组SQL查询 group by ([2024-04-13 09:00:00, 20242024-04-19T16:00:00), 1m, 1m) ; 我把结束时间2024-04-19T16:00:00写成了20242024-04-19T16:00:00 然后程序一直执行到服务器崩溃。

What did you expect to see?

希望可以配置单个任务最大的内存消耗。

What did you see instead?

SQL是18:00执行,直到18:15分左右服务器告警。我们重启服务后才回复正常 1715308242103

Anything else?

Are you willing to submit a PR?

  • [X] I'm willing to submit a PR!

18816837260 avatar May 10 '24 02:05 18816837260

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar May 10 '24 02:05 github-actions[bot]

Hi, for each time period, a corresponding TTimePartitionSlot object is generated. When too many objects occupy memory, there will be an issue of insufficient JVM memory. I can add a memory check at the planning stage to avoid this problem. image

ycycse avatar Jun 12 '24 09:06 ycycse

fixed in https://github.com/apache/iotdb/pull/12725

JackieTien97 avatar Jun 13 '24 06:06 JackieTien97