-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak when using toHotStream #1532
Comments
Would you have a pure-Mutiny (no Kafka) reproducer that exhibits a pipeline causing a memory leak? |
jponge
added a commit
to jponge/smallrye-mutiny
that referenced
this issue
Mar 4, 2024
@T1m1 Also the current |
I assume #1536 is a good fix and will proceed with merging + backporting |
jponge
added a commit
to jponge/smallrye-mutiny
that referenced
this issue
Mar 6, 2024
…criptions Refs: smallrye#1532 (cherry picked from commit 6a2c6f0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
In our Quarkus application, we utilize the Multi.toHotStream() method on a Kafka topic that continuously publishes a large volume of data. During our load and performance testing, we observed that an ArrayList fills up with instances of BroadcastProcessor, and the references of these instances are never released. This leads to the application crashing.
It appears to be a similar issue to #1482, but in the BroadcastProcessor class. Perhaps instances that are no longer needed need to be removed from the subscribers list once the subscription has been fully processed (via onComplete or onError).
Additional details
Quarkus version: 3.7.4
Mutiny version: 2.5.7
The text was updated successfully, but these errors were encountered: