GitHub user queimadus edited a comment on the discussion: Memory leak when 
using `flatMapPrefix`/`prefixAndTail` with `Concat`

Correct, it was intended. Just a way to generate a big chunk of memory that 
should be GC'd.  

>Will it still happen when you change from 50000 to 1?

I'd say so, just slower.

In my real use case, I ended up having this 4M chunks in mem, for multiple 
streams that would be fed into a concat (but should be fine since they could be 
GC'd)

GitHub link: 
https://github.com/apache/pekko/discussions/1566#discussioncomment-11638329

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to