akka/akka-core

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

Ouverte

#23 736 ouverte le 27 sept. 2017

 (3 commentaires) (0 réaction) (0 personne assignée)Scala (3 547 forks)batch import
1 - triageddiscusshelp wantedt:stream

Métriques du dépôt

Stars
 (13 277 étoiles)
Métriques de merge PR
 (Merge moyen 8j 19h) (10 PRs mergées en 30 j)

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.

Guide contributeur