[Bug] fatal error: OutOfMemory encountered: Java heap space
- Vorherrschende Sprache
- Java
- Sterne
- 6.4k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 115
Beschreibung
### 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!
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit der angehängten Datei hs_err_pid67335.log und den MEMORY_SIZE-Einstellungen für ConfigNode und DataNode in IoTDB 1.3.4. Vergleichen Sie den Fehler mit dem gemeldeten Verhalten in 1.2.x und ermitteln Sie, warum der Dienst trotz der konfigurierten Limits den Java-Heap erschöpft. Als erledigt gilt die Aufgabe, wenn die Ursache identifiziert ist und der DataNode unter der gemeldeten Standalone-Konfiguration nicht mehr stoppt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- databases
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100