[Bug] fatal error: OutOfMemory encountered: Java heap space
- Ngôn ngữ chính
- Java
- Star
- 6.4k
- Fork
- 1.2k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 115
Mô tả
### 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!
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với tệp đính kèm hs_err_pid67335.log và các thiết lập MEMORY_SIZE cho ConfigNode và DataNode trong IoTDB 1.3.4. So sánh lỗi này với hành vi đã được báo cáo trong 1.2.x và xác định lý do dịch vụ làm cạn kiệt Java heap mặc dù đã cấu hình các giới hạn. Hoàn thành khi đã xác định được nguyên nhân và DataNode không còn dừng trong cấu hình standalone được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- databases
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100