apache / apache/arrow-java

IllegalStateException: Memory leaked when closing RootAllocator

Ouverte
#776 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Type: bug
Langage dominant
Java
Étoiles
94
Forks
152
Merge moyen
3 j 16 h
PR mergées (30 j)
11

Description

### Describe the bug, including details regarding any error messages, version, and platform.

I am encountering an IllegalStateException with the message "Memory was leaked by query" when closing a RootAllocator. This indicates that some memory allocated from the allocator was not released before the allocator was closed.

[error.log](https://github.com/user-attachments/files/20497923/error.log)

A minimal project that reproduces this issue can be found here:
[github](https://github.com/liweiyuan/arrow-interop)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par exécuter le reproducer minimal dans le projet lié liweiyuan/arrow-interop et comparez son comportement avec error.log. Suivez quelle allocation reste lorsque RootAllocator est fermé ; c’est terminé lorsque le reproducer ne signale plus "Memory was leaked by query" et ne lève plus IllegalStateException pendant l’arrêt de l’allocateur.

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

Évaluation

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

Recevez les nouvelles issues par e-mail

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