akka/akka-core
Warn if materializer is not referenced any more but StreamSupervisor is still alive
开放
#23,736 创建于 2017年9月27日
1 - triageddiscusshelp wantedt:stream
仓库指标
- 星标
- (13,277 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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.