akka/akka-core
Warn if materializer is not referenced any more but StreamSupervisor is still alive
Aperta
#23.736 aperta il 27 set 2017
1 - triageddiscusshelp wantedt:stream
Metriche repository
- Star
- (13.277 stelle)
- Metriche merge PR
- (Merge medio 8g 19h) (10 PR mergiate in 30 g)
Descrizione
In "real", long-running apps, dropping the reference to the materializer is often a sign that you create too many one-off materializers without shutting them down again after use (potential memory leak).
I guess the StreamSupervisor could monitor a reference queue to see when this happens but it's hard to say if it will introduce spurious warnings.