apache / apache/iotdb

[Bug] fatal error: OutOfMemory encountered: Java heap space

Ouverte
#15,451 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
6.4k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
115

Description

### 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!

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par le fichier joint hs_err_pid67335.log et les paramètres MEMORY_SIZE de ConfigNode et DataNode dans IoTDB 1.3.4. Comparez l’échec avec le comportement signalé en 1.2.x et déterminez pourquoi le service épuise le tas Java malgré les limites configurées. La tâche est terminée lorsque la cause est identifiée et que le DataNode ne s’arrête plus avec la configuration standalone signalée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
databases
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.