Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 导出tsfile总是出现内存不足的问题 #14691

Open
1 of 2 tasks
Wang-0122 opened this issue Jan 13, 2025 · 3 comments
Open
1 of 2 tasks

[Bug] 导出tsfile总是出现内存不足的问题 #14691

Wang-0122 opened this issue Jan 13, 2025 · 3 comments

Comments

@Wang-0122
Copy link

Search before asking

  • I searched in the issues and found nothing similar.

Version

image

Cannot dump result because: 301: There is not enough memory to execute current fragment instance, current remaining free memory is 44350172B, estimated memory usage for current fragment instance is 848419096B

内存是足够的, 是不是要修改什么配置的, 2c8g的机器

Describe the bug and provide the minimal reproduce step

1

What did you expect to see?

1

What did you see instead?

1

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@Wang-0122
Copy link
Author

版本: 1.3.3, 1个database, 大部分类型都有
集群环境为 3C3D

@CritasWang
Copy link
Collaborator

可以修改datanode-env.sh 的 memory-size
如果 是 windows 则是 datanode-env.bat

@Wang-0122
Copy link
Author

可以修改datanode-env.sh 的 memory-size 如果 是 windows 则是 datanode-env.bat

8G内存的机器, MEMORY_SIZE=6G 已经改到6G了, 还是不行
参考了这个链接做了些修改, 也无济于事
https://iotdb.apache.org/zh/UserGuide/latest/FAQ/Frequently-asked-questions.html#%E9%A2%84%E4%BC%B0%E5%86%85%E5%AD%98%E4%B8%8D%E8%B6%B3%E6%8A%A5%E9%94%99%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86

[root@ip-10-0-137-177 apache-iotdb-1.3.3-all-bin]# tools/export-tsfile.sh -h 127.0.0.1 -p 6667 -u root -pw root -t ./backup -q "select * from root.vGco.** where time >= 1736734200000 and time <= 1736734260000"

Starting IoTDB Client Export Script

Cannot dump result because: 301: There is not enough memory to execute current fragment instance, current remaining free memory is 308727591B, estimated memory usage for current fragment instance is 888118024B

只导出1分钟的数据也不行, 需要888118024B = 800M 内存

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants