akka/akka-core

Warn if materializer is not referenced any more but StreamSupervisor is still alive

開放

#23,736 建立於 2017年9月27日

 (3 則留言) (0 個反應) (0 位負責人)Scala (3,547 個分叉)batch import
1 - triageddiscusshelp wantedt:stream

倉庫指標

星標
 (13,277 顆星)
PR 合併指標
 (平均合併 8天 19小時) (30 天內合併 10 個 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.

貢獻者指南