akka/akka-core
View on GitHubWarn if materializer is not referenced any more but StreamSupervisor is still alive
Open
#23,736 opened on Sep 27, 2017
1 - triageddiscusshelp wantedt:stream
Repository metrics
- Stars
- (13,277 stars)
- PR merge metrics
- (Avg merge 8d 19h) (10 merged PRs in 30d)
Description
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.