https://kotlinlang.org logo
#coroutines
Title
# coroutines
p

Peter

04/14/2021, 7:15 PM
i’m wondering why
CancellableContinuationImpl
would have such a large retained size?
it is referenced by a MutableSharedFlow
it starts getting impractical to have even 1000 of them around
ok looks like clicking on an instance and then checking the
retained objects
pane sheds some more light…
not really sure why
Copy code
MutableSharedFlow<XX>(replay = 0, extraBufferCapacity = 100)
would hold a reference to already processed elements?
7 Views