[Bug] fatal error: OutOfMemory encountered: Java heap space
- Lingua principale
- Java
- Stelle
- 6.4k
- Fork
- 1.2k
- Merge medio
- 1g 23h
- PR unite (30g)
- 115
Descrizione
### 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!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Iniziare con il file allegato hs_err_pid67335.log e con le impostazioni MEMORY_SIZE per ConfigNode e DataNode in IoTDB 1.3.4. Confrontare il problema con il comportamento segnalato in 1.2.x e determinare perché il servizio esaurisce l’heap Java nonostante i limiti configurati. Il lavoro è completato quando la causa è stata identificata e il DataNode non si arresta più con la configurazione standalone segnalata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- databases
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100