[Java] Request for enhancements to BufferAllocator.close()
- Lingua principale
- Java
- Stelle
- 94
- Fork
- 152
- Merge medio
- 3g 16h
- PR unite (30g)
- 11
Descrizione
We are using Arrow in a production environment and running into some issues with memory allocation. Specifically, we would like to be able to call `BufferAllocator.close()` and have that clean up the allocated memory even if there are existing data objects using it, rather than the method throwing an exception upon seeing that the allocator is still in use. Are there any plans to add support for releasing memory on demand?
**Reporter**: [Talia Trilling](https://issues.apache.org/jira/browse/ARROW-14328)
**Note**: *This issue was originally created as [ARROW-14328](https://issues.apache.org/jira/browse/ARROW-14328). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dall’API BufferAllocator.close() e traccia il modo in cui gestisce la memoria allocata quando gli oggetti dati stanno ancora utilizzando l’allocator. Chiarisci il comportamento previsto per quanto riguarda ownership e ciclo di vita prima di identificare i punti dell’implementazione e dei test; il lavoro è completato quando il comportamento di chiusura concordato è implementato e verificato per gli oggetti ancora presenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- data
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100