[Bug] fatal error: OutOfMemory encountered: Java heap space
- Lenguaje dominante
- Java
- Estrellas
- 6.4k
- Forks
- 1.2k
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 115
Descripción
### 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!
Guía de contribución
Línea de trabajo
Comience con el archivo adjunto hs_err_pid67335.log y la configuración de MEMORY_SIZE para ConfigNode y DataNode en IoTDB 1.3.4. Compare el fallo con el comportamiento notificado en 1.2.x y determine por qué el servicio agota el heap de Java a pesar de los límites configurados. Se considera completado cuando se haya identificado la causa y el DataNode ya no se detenga con la configuración standalone indicada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- databases
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100